diff --git a/js/bootstrap-modal.js b/js/bootstrap-modal.js index 6370a02a4f..41bb540a16 100644 --- a/js/bootstrap-modal.js +++ b/js/bootstrap-modal.js @@ -100,8 +100,8 @@ , hide: function (e) { e && e.preventDefault() - if (! this.isShown) { - return this + if ( !this.isShown ) { + return this } var that = this