lint: Comma dangle

This commit is contained in:
Cohee
2023-12-02 22:06:57 +02:00
parent 08fedf3a96
commit 64a3564892
53 changed files with 388 additions and 384 deletions

View File

@@ -984,7 +984,7 @@ export function initRossMods() {
let contextLine = $('.lastInContext');
if (contextLine.length !== 0) {
$('#chat').animate({
scrollTop: contextLine.offset().top - $('#chat').offset().top + $('#chat').scrollTop()
scrollTop: contextLine.offset().top - $('#chat').offset().top + $('#chat').scrollTop(),
}, 300);
} else { toastr.warning('Context line not found, send a message first!'); }
}
@@ -992,7 +992,7 @@ export function initRossMods() {
if (event.shiftKey && event.ctrlKey && event.key == 'ArrowDown') {
event.preventDefault();
$('#chat').animate({
scrollTop: $('#chat').prop('scrollHeight')
scrollTop: $('#chat').prop('scrollHeight'),
}, 300);
}