We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4b3893e commit 54eb69aCopy full SHA for 54eb69a
src/js/tooltipster.js
@@ -2476,12 +2476,16 @@ $.Tooltipster.prototype = {
2476
2477
if (!self.__destroyed) {
2478
2479
- // no closing delay
2480
- self.option('animationDuration', 0)
2481
- // forced closing
2482
- ._close(null, null, true)
2483
- // send event
2484
- ._trigger('destroy');
+ if(self.__state != 'closed'){
+
+ // no closing delay
+ self.option('animationDuration', 0)
+ // force closing
+ ._close(null, null, true);
2485
+ }
2486
2487
+ // send event
2488
+ self._trigger('destroy');
2489
2490
self.__destroyed = true;
2491
0 commit comments