mirror of
https://github.com/SillyTavern/SillyTavern.git
synced 2025-06-05 21:59:27 +02:00
lint: Comma dangle
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user