From 3d1bbd94e1bcaf18393f112d79fa344ceadcf5ec Mon Sep 17 00:00:00 2001 From: RossAscends <124905043+RossAscends@users.noreply.github.com> Date: Sun, 17 Dec 2023 20:18:51 +0900 Subject: [PATCH] allow msg edit hotkey when user is last --- public/scripts/RossAscends-mods.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/public/scripts/RossAscends-mods.js b/public/scripts/RossAscends-mods.js index c07a49437..a28ed13da 100644 --- a/public/scripts/RossAscends-mods.js +++ b/public/scripts/RossAscends-mods.js @@ -1052,11 +1052,11 @@ export function initRossMods() { } if (event.key == 'ArrowUp') { //edits last message if chatbar is empty and focused - //console.log('got uparrow input'); + console.log('got uparrow input'); if ( $('#send_textarea').val() === '' && chatbarInFocus === true && - $('.swipe_right:last').css('display') === 'flex' && + //$('.swipe_right:last').css('display') === 'flex' && $('#character_popup').css('display') === 'none' && $('#shadow_select_chat_popup').css('display') === 'none' ) {