omit needless lines
This commit is contained in:
@@ -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,
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user