]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
updated if statement form
authorAaron Stacy <aaron.r.stacy@gmail.com>
Fri, 23 Sep 2011 18:38:08 +0000 (13:38 -0500)
committerAaron Stacy <aaron.r.stacy@gmail.com>
Fri, 23 Sep 2011 18:38:08 +0000 (13:38 -0500)
js/bootstrap-modal.js

index aed62881102b5cc2be7ec1b7c9a4b7b79e27c9ec..1763077e0e3e65ab6169e99dad6668a2472de5b6 100644 (file)
     , hide: function (e) {
         e && e.preventDefault()
 
-        if (! this.isShown) return
+        if (! this.isShown) {
+            return
+        }
 
         var that = this
         this.isShown = false