0
0
mirror of https://github.com/twbs/bootstrap.git synced 2024-12-01 13:24:25 +01:00

if no callback, don't try to call callback ya goof

This commit is contained in:
fat 2013-02-07 19:45:42 -08:00
parent 3b56227553
commit d8a7a380bc
4 changed files with 7 additions and 1 deletions

View File

@ -171,6 +171,8 @@
this.$backdrop.addClass('in')
if (!callback) return
doAnimate ?
this.$backdrop.one($.support.transition.end, callback) :
callback()

View File

@ -969,6 +969,8 @@
this.$backdrop.addClass('in')
if (!callback) return
doAnimate ?
this.$backdrop.one($.support.transition.end, callback) :
callback()

File diff suppressed because one or more lines are too long

View File

@ -171,6 +171,8 @@
this.$backdrop.addClass('in')
if (!callback) return
doAnimate ?
this.$backdrop.one($.support.transition.end, callback) :
callback()