diff options
| author | fat <[email protected]> | 2013-02-07 19:45:42 -0800 |
|---|---|---|
| committer | fat <[email protected]> | 2013-02-07 19:45:42 -0800 |
| commit | d8a7a380bcfd25c66ca1dc54d1619dc272f4bbb4 (patch) | |
| tree | 1d7fe367d66891ea71a832717d62fbc8d8b4add8 /js | |
| parent | 3b56227553f40cc567e161c68c64f1e315fd5241 (diff) | |
| download | bootstrap-d8a7a380bcfd25c66ca1dc54d1619dc272f4bbb4.tar.xz bootstrap-d8a7a380bcfd25c66ca1dc54d1619dc272f4bbb4.zip | |
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 3596c8d4c..379da6087 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() |
