diff options
author | fat <jacobthornton@gmail.com> | 2013-02-08 07:45:42 +0400 |
---|---|---|
committer | fat <jacobthornton@gmail.com> | 2013-02-08 07:45:42 +0400 |
commit | d8a7a380bcfd25c66ca1dc54d1619dc272f4bbb4 (patch) | |
tree | 1d7fe367d66891ea71a832717d62fbc8d8b4add8 /js | |
parent | 3b56227553f40cc567e161c68c64f1e315fd5241 (diff) |
if no callback, don't try to call callback ya goof
Diffstat (limited to 'js')
-rw-r--r-- | js/bootstrap-modal.js | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/js/bootstrap-modal.js b/js/bootstrap-modal.js index 3596c8d4c2..379da60879 100644 --- a/js/bootstrap-modal.js +++ b/js/bootstrap-modal.js @@ -171,6 +171,8 @@ this.$backdrop.addClass('in') + if (!callback) return + doAnimate ? this.$backdrop.one($.support.transition.end, callback) : callback() |