aboutsummaryrefslogtreecommitdiff
path: root/js/bootstrap-modal.js
diff options
context:
space:
mode:
authorfat <[email protected]>2013-02-28 21:15:33 -0800
committerfat <[email protected]>2013-02-28 21:15:33 -0800
commit839b0c893fe2f2760682bee9dc49d5fa0b9c0412 (patch)
tree2764caf2be2fa945700a353de3576bcee71ea468 /js/bootstrap-modal.js
parent0992a859329c80d15b9868fc426de8aefa1f8ea0 (diff)
downloadbootstrap-839b0c893fe2f2760682bee9dc49d5fa0b9c0412.tar.xz
bootstrap-839b0c893fe2f2760682bee9dc49d5fa0b9c0412.zip
shiiiit
Diffstat (limited to 'js/bootstrap-modal.js')
-rw-r--r--js/bootstrap-modal.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/js/bootstrap-modal.js b/js/bootstrap-modal.js
index 4530499eb..12abe06f1 100644
--- a/js/bootstrap-modal.js
+++ b/js/bootstrap-modal.js
@@ -148,7 +148,7 @@
}
, removeBackdrop: function () {
- this.$backdrop.remove()
+ this.$backdrop && this.$backdrop.remove()
this.$backdrop = null
}