Chat: avoid inline onclick handler to support jQuery 3.4+

This commit is contained in:
webzwo0i 2021-07-07 02:30:12 +02:00 committed by SamTV12345
parent f0a39b0595
commit 5906afbc2e
3 changed files with 5 additions and 1 deletions

View file

@ -47,6 +47,9 @@ exports.chat = (() => {
},
// Make chat stick to right hand side of screen
stickToScreen(fromInitialCall) {
if ($('#options-stickychat').prop('checked')) {
$('#options-stickychat').prop('checked', false);
}
if (pad.settings.hideChat) {
return;
}