aboutsummaryrefslogtreecommitdiff
path: root/js
diff options
context:
space:
mode:
Diffstat (limited to 'js')
-rw-r--r--js/bootstrap-modal.js4
1 files changed, 3 insertions, 1 deletions
diff --git a/js/bootstrap-modal.js b/js/bootstrap-modal.js
index 3267560ed..aed628811 100644
--- a/js/bootstrap-modal.js
+++ b/js/bootstrap-modal.js
@@ -100,6 +100,8 @@
, hide: function (e) {
e && e.preventDefault()
+ if (! this.isShown) return
+
var that = this
this.isShown = false
@@ -235,4 +237,4 @@
})
})
-}( window.jQuery || window.ender ); \ No newline at end of file
+}( window.jQuery || window.ender );