Skip to content

Commit a2b8a29

Browse files
committed
another fix for #679
1 parent cf83e12 commit a2b8a29

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

src/js/tooltipster.js

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1483,7 +1483,11 @@ $.Tooltipster.prototype = {
14831483
// the opening animation, which is not great.
14841484
if (self.__state == 'disappearing') {
14851485

1486-
if (newClosingTime > self.__closingTime) {
1486+
if ( newClosingTime > self.__closingTime
1487+
// in case closing is actually overdue because the script
1488+
// execution was suspended. See #679
1489+
&& self.__options.animationDuration[1] > 0
1490+
) {
14871491
necessary = false;
14881492
}
14891493
}

0 commit comments

Comments
 (0)