From 1066ec4a79bc2cbdc3dd428c5e241364ace96594 Mon Sep 17 00:00:00 2001 From: Aaron Stacy Date: Fri, 23 Sep 2011 13:38:08 -0500 Subject: [PATCH] updated if statement form --- js/bootstrap-modal.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/js/bootstrap-modal.js b/js/bootstrap-modal.js index aed6288110..1763077e0e 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