diff --git a/js/bootstrap-modal.js b/js/bootstrap-modal.js index 55b5fb77c5..6370a02a4f 100644 --- a/js/bootstrap-modal.js +++ b/js/bootstrap-modal.js @@ -100,6 +100,10 @@ , hide: function (e) { e && e.preventDefault() + if (! this.isShown) { + return this + } + var that = this this.isShown = false @@ -235,4 +239,4 @@ }) }) -}( window.jQuery || window.ender ); \ No newline at end of file +}( window.jQuery || window.ender );