diff --git a/addon/mixins/components/tooltips.js b/addon/mixins/components/tooltips.js index c02d171d..cc54729a 100644 --- a/addon/mixins/components/tooltips.js +++ b/addon/mixins/components/tooltips.js @@ -62,7 +62,7 @@ export default Ember.Mixin.create({ destroyTooltip: on('willDestroyElement', function() { const tooltip = this.get('tooltip'); - if (tooltip) { + if (tooltip && tooltip.effect && tooltip.detach) { tooltip.effect(null); // Remove animation tooltip.detach(); // Remove the tooltip from the document this.$().off(); // Remove all event listeners