diff --git a/src/Tooltip/js/tippy.js b/src/Tooltip/js/tippy.js index e790cd1..bc66b3f 100644 --- a/src/Tooltip/js/tippy.js +++ b/src/Tooltip/js/tippy.js @@ -254,7 +254,9 @@ class Tippy { // Prevents shown() from firing more than once from early transition cancellations data._onShownFired = true - this.callbacks.shown.call(popper) + if (typeof this.callbacks.shown === 'function') { + this.callbacks.shown.call(popper) + } }) }) }