Skip to content

Commit 2b3302b

Browse files
author
Nathaniel Blackburn
committed
Fixed cases where multiple hide classes are being applied
1 parent 766047d commit 2b3302b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

intro.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1393,7 +1393,7 @@
13931393
var hint = this._targetElement.querySelector('.introjs-hint[data-step="' + stepId + '"]');
13941394

13951395
if (hint) {
1396-
hint.className = hint.className.replace('introjs-hidehint', '');
1396+
hint.className = hint.className.replace(/introjs\-hide\-hint/g, '');
13971397
}
13981398
};
13991399

0 commit comments

Comments
 (0)