diff options
Diffstat (limited to 'bower_components/bootstrap/js/transition.js')
-rwxr-xr-x[-rw-r--r--] | bower_components/bootstrap/js/transition.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bower_components/bootstrap/js/transition.js b/bower_components/bootstrap/js/transition.js index dfb64108..0cdcf9ea 100644..100755 --- a/bower_components/bootstrap/js/transition.js +++ b/bower_components/bootstrap/js/transition.js @@ -43,8 +43,8 @@ // http://blog.alexmaccaw.com/css-transitions $.fn.emulateTransitionEnd = function (duration) { var called = false, $el = this - $(this).one('webkitTransitionEnd', function () { called = true }) - var callback = function () { if (!called) $($el).trigger('webkitTransitionEnd') } + $(this).one($.support.transition.end, function () { called = true }) + var callback = function () { if (!called) $($el).trigger($.support.transition.end) } setTimeout(callback, duration) return this } |