aboutsummaryrefslogtreecommitdiff
path: root/dist/js/bootstrap.js
diff options
context:
space:
mode:
authorHeinrich Fenkart <[email protected]>2014-09-22 21:47:24 +0200
committerHeinrich Fenkart <[email protected]>2014-09-22 21:47:24 +0200
commit36ebec5e7605f4e0fe7e0caa5149e6d5d2e3b31a (patch)
treebe7c871aaa607ba069a08ec96517a08f6382f7b3 /dist/js/bootstrap.js
parentacf3c0bf4848528b7d7cd5e5a3e890c4d33515fe (diff)
downloadbootstrap-36ebec5e7605f4e0fe7e0caa5149e6d5d2e3b31a.tar.xz
bootstrap-36ebec5e7605f4e0fe7e0caa5149e6d5d2e3b31a.zip
grunt
Diffstat (limited to 'dist/js/bootstrap.js')
-rw-r--r--dist/js/bootstrap.js5
1 files changed, 2 insertions, 3 deletions
diff --git a/dist/js/bootstrap.js b/dist/js/bootstrap.js
index a03ccb4a4..bc637c873 100644
--- a/dist/js/bootstrap.js
+++ b/dist/js/bootstrap.js
@@ -953,9 +953,6 @@ if (typeof jQuery === 'undefined') { throw new Error('Bootstrap\'s JavaScript re
this.isShown = false
- this.$body.removeClass('modal-open')
-
- this.resetScrollbar()
this.escape()
$(document).off('focusin.bs.modal')
@@ -996,6 +993,8 @@ if (typeof jQuery === 'undefined') { throw new Error('Bootstrap\'s JavaScript re
var that = this
this.$element.hide()
this.backdrop(function () {
+ that.$body.removeClass('modal-open')
+ that.resetScrollbar()
that.$element.trigger('hidden.bs.modal')
})
}