Commit d8a7a380 authored by fat's avatar fat
Browse files

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

parent 3b562275
No related merge requests found
Showing with 7 additions and 1 deletion
+7 -1
......@@ -171,6 +171,8 @@
this.$backdrop.addClass('in')
if (!callback) return
doAnimate ?
this.$backdrop.one($.support.transition.end, callback) :
callback()
......
......@@ -969,6 +969,8 @@
this.$backdrop.addClass('in')
if (!callback) return
doAnimate ?
this.$backdrop.one($.support.transition.end, callback) :
callback()
......
This diff is collapsed.
......@@ -171,6 +171,8 @@
this.$backdrop.addClass('in')
if (!callback) return
doAnimate ?
this.$backdrop.one($.support.transition.end, callback) :
callback()
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment