Skip to content

Commit 055d21b

Browse files
committed
dist build
1 parent 54eb69a commit 055d21b

5 files changed

+26
-18
lines changed

dist/js/tooltipster.bundle.js

+11-7
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ var defaults = {
8989
hasTransitions: transitionSupport(),
9090
IE: false,
9191
// don't set manually, it will be updated by a build task after the manifest
92-
semVer: '4.2.1',
92+
semVer: '4.2.2',
9393
window: win
9494
},
9595
core = function() {
@@ -2498,12 +2498,16 @@ $.Tooltipster.prototype = {
24982498

24992499
if (!self.__destroyed) {
25002500

2501-
// no closing delay
2502-
self.option('animationDuration', 0)
2503-
// forced closing
2504-
._close(null, null, true)
2505-
// send event
2506-
._trigger('destroy');
2501+
if(self.__state != 'closed'){
2502+
2503+
// no closing delay
2504+
self.option('animationDuration', 0)
2505+
// force closing
2506+
._close(null, null, true);
2507+
}
2508+
2509+
// send event
2510+
self._trigger('destroy');
25072511

25082512
self.__destroyed = true;
25092513

dist/js/tooltipster.bundle.min.js

+2-2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/js/tooltipster.main.js

+11-7
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ var defaults = {
8989
hasTransitions: transitionSupport(),
9090
IE: false,
9191
// don't set manually, it will be updated by a build task after the manifest
92-
semVer: '4.2.1',
92+
semVer: '4.2.2',
9393
window: win
9494
},
9595
core = function() {
@@ -2498,12 +2498,16 @@ $.Tooltipster.prototype = {
24982498

24992499
if (!self.__destroyed) {
25002500

2501-
// no closing delay
2502-
self.option('animationDuration', 0)
2503-
// forced closing
2504-
._close(null, null, true)
2505-
// send event
2506-
._trigger('destroy');
2501+
if(self.__state != 'closed'){
2502+
2503+
// no closing delay
2504+
self.option('animationDuration', 0)
2505+
// force closing
2506+
._close(null, null, true);
2507+
}
2508+
2509+
// send event
2510+
self._trigger('destroy');
25072511

25082512
self.__destroyed = true;
25092513

dist/js/tooltipster.main.min.js

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -44,5 +44,5 @@
4444
"scripts": {
4545
"test": "echo \"Error: no test specified\" && exit 1"
4646
},
47-
"version": "4.2.1"
47+
"version": "4.2.2"
4848
}

0 commit comments

Comments
 (0)