Update 'mbchc-dev.user.js'
BCE IM support
This commit is contained in:
parent
b99e28502b
commit
29e9d84ceb
|
@ -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))
|
||||
})
|
||||
|
|
Loading…
Reference in New Issue
Block a user