mirror of
https://github.com/tenrok/bootstrap.git
synced 2026-06-17 19:21:23 +03:00
if no callback, don't try to call callback ya goof
This commit is contained in:
Vendored
+2
@@ -171,6 +171,8 @@
|
|||||||
|
|
||||||
this.$backdrop.addClass('in')
|
this.$backdrop.addClass('in')
|
||||||
|
|
||||||
|
if (!callback) return
|
||||||
|
|
||||||
doAnimate ?
|
doAnimate ?
|
||||||
this.$backdrop.one($.support.transition.end, callback) :
|
this.$backdrop.one($.support.transition.end, callback) :
|
||||||
callback()
|
callback()
|
||||||
|
|||||||
Vendored
+2
@@ -969,6 +969,8 @@
|
|||||||
|
|
||||||
this.$backdrop.addClass('in')
|
this.$backdrop.addClass('in')
|
||||||
|
|
||||||
|
if (!callback) return
|
||||||
|
|
||||||
doAnimate ?
|
doAnimate ?
|
||||||
this.$backdrop.one($.support.transition.end, callback) :
|
this.$backdrop.one($.support.transition.end, callback) :
|
||||||
callback()
|
callback()
|
||||||
|
|||||||
Vendored
+1
-1
File diff suppressed because one or more lines are too long
Vendored
+2
@@ -171,6 +171,8 @@
|
|||||||
|
|
||||||
this.$backdrop.addClass('in')
|
this.$backdrop.addClass('in')
|
||||||
|
|
||||||
|
if (!callback) return
|
||||||
|
|
||||||
doAnimate ?
|
doAnimate ?
|
||||||
this.$backdrop.one($.support.transition.end, callback) :
|
this.$backdrop.one($.support.transition.end, callback) :
|
||||||
callback()
|
callback()
|
||||||
|
|||||||
Reference in New Issue
Block a user