mirror of
https://github.com/tenrok/bootstrap.git
synced 2026-06-05 16:42:29 +03:00
carousel -> es6
This commit is contained in:
Vendored
+5
-1
@@ -63,7 +63,7 @@ var Util = (function ($) {
|
||||
|
||||
setTimeout(function () {
|
||||
if (!called) {
|
||||
$(_this).trigger(transition.end);
|
||||
Util.triggerTransitionEnd(_this);
|
||||
}
|
||||
}, duration);
|
||||
|
||||
@@ -110,6 +110,10 @@ var Util = (function ($) {
|
||||
new Function('bs', 'return bs')(element.offsetHeight);
|
||||
},
|
||||
|
||||
triggerTransitionEnd: function triggerTransitionEnd(element) {
|
||||
$(element).trigger(transition.end);
|
||||
},
|
||||
|
||||
supportsTransitionEnd: function supportsTransitionEnd() {
|
||||
return !!transition;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user