From 29e9d84cebedad6dfc8c943bdce725e61ddbf803 Mon Sep 17 00:00:00 2001 From: Mute Date: Wed, 20 Jul 2022 08:14:32 +0000 Subject: [PATCH] Update 'mbchc-dev.user.js' BCE IM support --- mbchc-dev.user.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mbchc-dev.user.js b/mbchc-dev.user.js index d6a04eb..b5e6154 100644 --- a/mbchc-dev.user.js +++ b/mbchc-dev.user.js @@ -649,7 +649,7 @@ var bcModSdk=function(){"use strict";const o="1.0.2";function e(o){alert("Mod ER }) window.MBCHC.sdk.hookFunction("DocumentKeyDown", 0, (nextargs, next) => { let [event] = nextargs - if ("InputChat" === document.activeElement.id) return(next(nextargs)) + if ("InputChat" === document.activeElement.id || "bce-message-input" === document.activeElement.id) return(next(nextargs)) if ("inline" === document.getElementById("InputChat")?.style.display) window.ElementFocus("InputChat") return(next(nextargs)) })