Skip to content

Commit

Permalink
Fix OSD jBox Modal (#3248)
Browse files Browse the repository at this point in the history
  • Loading branch information
haslinghuis committed Jan 15, 2023
1 parent 771b840 commit b407740
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions src/js/tabs/osd.js
Original file line number Diff line number Diff line change
Expand Up @@ -3231,15 +3231,19 @@ osd.initialize = function(callback) {

// Generate tooltips for OSD elements
$('.osd_tip').each(function() {
OSD.data.tooltips.push($(this).jBox('Tooltip', {
const myModal = new jBox('Tooltip', {
delayOpen: 100,
delayClose: 100,
position: {
x: 'right',
y: 'center',
},
outside: 'x',
}));
});

myModal.attach($(this));

OSD.data.tooltips.push(myModal);
});
});
}
Expand Down

0 comments on commit b407740

Please sign in to comment.