Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/twbs/bootstrap.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorfat <fat@folders.local>2015-05-08 08:26:40 +0300
committerfat <fat@folders.local>2015-05-08 08:26:40 +0300
commit1b183e2ff796fc22aba8a8cac074a306c083d018 (patch)
treeecc5298aab8d67841e0a765e44feb0b70c872050 /js/dist/util.js
parent660505188241418ffda53b5eb848defecd5f57e1 (diff)
carousel -> es6
Diffstat (limited to 'js/dist/util.js')
-rw-r--r--js/dist/util.js6
1 files changed, 5 insertions, 1 deletions
diff --git a/js/dist/util.js b/js/dist/util.js
index 4f25e200da..f3654eacfa 100644
--- a/js/dist/util.js
+++ b/js/dist/util.js
@@ -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;
}