omit needless lines

This commit is contained in:
bangonicdd
2025-02-04 09:24:14 +09:00
parent ad6f7e0be4
commit d679247874

View File

@@ -41,12 +41,7 @@ function nodeObserve(node:HTMLElement){
if(currentChar.type === 'group'){ if(currentChar.type === 'group'){
return; return;
} }
const triggerResult = await runLuaButtonTrigger(currentChar, btnEvent); await runLuaButtonTrigger(currentChar, btnEvent);
if(triggerResult){
setCurrentChat(triggerResult.chat);
}
}, { }, {
passive: true, passive: true,
}); });