Created
November 7, 2011 13:16
-
-
Save makeusabrew/1344920 to your computer and use it in GitHub Desktop.
bootbox.js - programatically hide all dialogs
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
bootbox.alert("Hello"); | |
bootbox.confirm("Can you take it?"); | |
bootbox.alert("Boo!"); | |
setTimeout(function() { | |
// that's enough of that | |
bootbox.hideAll(); | |
}, 3000); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Works like a charm.