11 lines
189 B
JavaScript
11 lines
189 B
JavaScript
/**
|
|
Default settings for bootbox
|
|
**/
|
|
Discourse.addInitializer(function() {
|
|
|
|
bootbox.animate(false);
|
|
|
|
// clicking outside a bootbox modal closes it
|
|
bootbox.backdrop(true);
|
|
|
|
}, true); |