aboutsummaryrefslogtreecommitdiff
path: root/js/src
diff options
context:
space:
mode:
Diffstat (limited to 'js/src')
-rw-r--r--js/src/tooltip.js3
1 files changed, 1 insertions, 2 deletions
diff --git a/js/src/tooltip.js b/js/src/tooltip.js
index de7dcca69..979bd0773 100644
--- a/js/src/tooltip.js
+++ b/js/src/tooltip.js
@@ -279,10 +279,9 @@ class Tooltip extends BaseComponent {
if (!this._element.ownerDocument.documentElement.contains(this.tip)) {
container.appendChild(tip)
+ EventHandler.trigger(this._element, this.constructor.Event.INSERTED)
}
- EventHandler.trigger(this._element, this.constructor.Event.INSERTED)
-
if (this._popper) {
this._popper.update()
} else {