diff options
author | XhmikosR <xhmikosr@gmail.com> | 2019-04-18 14:47:52 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-04-18 14:47:52 +0300 |
commit | 091aa1e9fd411440c3ff3c95042a5aa1502e6978 (patch) | |
tree | 9343d4a164ad6e2c064d0305ba28e6d8870029e7 /js/dist/tooltip.js | |
parent | 5c5b15a077b796510fce745129612ee940b13b89 (diff) |
v5 dist (#28657)
Diffstat (limited to 'js/dist/tooltip.js')
-rw-r--r-- | js/dist/tooltip.js | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/js/dist/tooltip.js b/js/dist/tooltip.js index bf0cea322f..20ba46bf62 100644 --- a/js/dist/tooltip.js +++ b/js/dist/tooltip.js @@ -120,7 +120,9 @@ }; var triggerTransitionEnd = function triggerTransitionEnd(element) { - element.dispatchEvent(new Event(TRANSITION_END)); + var evt = document.createEvent('HTMLEvents'); + evt.initEvent(TRANSITION_END, true, true); + element.dispatchEvent(evt); }; var isElement = function isElement(obj) { @@ -372,7 +374,7 @@ SHOW: 'show', OUT: 'out' }; - var Event$1 = { + var Event = { HIDE: "hide" + EVENT_KEY, HIDDEN: "hidden" + EVENT_KEY, SHOW: "show" + EVENT_KEY, @@ -1032,7 +1034,7 @@ }, { key: "Event", get: function get() { - return Event$1; + return Event; } }, { key: "EVENT_KEY", |