Skip to content

Commit c2b2604

Browse files
committed
Allow focus tooltips to remain when a new one is opened
1 parent bbc1bfe commit c2b2604

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

jTippy.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -242,7 +242,7 @@
242242
hideAllVisible: function(){
243243
$.each($.jTippy.visible, function(index, jTippy){
244244
//if it's not a focus/hoverfocus tooltip with focus currently, hide it
245-
if( !jTippy.dom_wrapped.hasClass('jt-focus') ){
245+
if( !jTippy.dom_wrapped.hasClass('jt-focused') ){
246246
jTippy.hide();
247247
}
248248
});

jTippy.min.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "jtippy",
3-
"version": "1.4.5",
3+
"version": "1.4.6",
44
"description": "jQuery tooltip plugin",
55
"repository": {
66
"type": "git",

0 commit comments

Comments
 (0)