Fix OSD jBox Modal (#3248)

10.9-maintenance
haslinghuis 2023-01-15 23:58:10 +01:00 committed by GitHub
parent 771b840095
commit b4077405a0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 6 additions and 2 deletions

View File

@ -3231,7 +3231,7 @@ osd.initialize = function(callback) {
// Generate tooltips for OSD elements // Generate tooltips for OSD elements
$('.osd_tip').each(function() { $('.osd_tip').each(function() {
OSD.data.tooltips.push($(this).jBox('Tooltip', { const myModal = new jBox('Tooltip', {
delayOpen: 100, delayOpen: 100,
delayClose: 100, delayClose: 100,
position: { position: {
@ -3239,7 +3239,11 @@ osd.initialize = function(callback) {
y: 'center', y: 'center',
}, },
outside: 'x', outside: 'x',
})); });
myModal.attach($(this));
OSD.data.tooltips.push(myModal);
}); });
}); });
} }