aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAaron Stacy <[email protected]>2011-09-23 13:38:08 -0500
committerAaron Stacy <[email protected]>2011-09-23 13:38:08 -0500
commit1066ec4a79bc2cbdc3dd428c5e241364ace96594 (patch)
tree179cf3a78e2585c7a5908fa56535bd5c9605790d
parentd541eceb51bcc4dff8a42124c0b8d5cdee46d705 (diff)
downloadbootstrap-1066ec4a79bc2cbdc3dd428c5e241364ace96594.tar.xz
bootstrap-1066ec4a79bc2cbdc3dd428c5e241364ace96594.zip
updated if statement form
-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 aed628811..1763077e0 100644
--- a/js/bootstrap-modal.js
+++ b/js/bootstrap-modal.js
@@ -100,7 +100,9 @@
, hide: function (e) {
e && e.preventDefault()
- if (! this.isShown) return
+ if (! this.isShown) {
+ return
+ }
var that = this
this.isShown = false