From 862d495a7185c20932e4eb8dbfb1b83b2b817ed2 Mon Sep 17 00:00:00 2001 From: Ennea Date: Mon, 2 Sep 2024 13:05:30 +0200 Subject: [PATCH] cleaner removal of pointer-events property --- ChatTwo/Http/static/start.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ChatTwo/Http/static/start.js b/ChatTwo/Http/static/start.js index c8e1db6..3f8f45a 100644 --- a/ChatTwo/Http/static/start.js +++ b/ChatTwo/Http/static/start.js @@ -84,7 +84,7 @@ channelElement.firstChild.innerText = `(Locked) ${channelElement.firstChild.innerText}`; this.elements.channelSelect.style.pointerEvents = 'none'; } else { - this.elements.channelSelect.style.pointerEvents = 'auto'; + this.elements.channelSelect.style.removeProperty('pointer-events'); } this.elements.channelHint.appendChild(channelElement);