cleaner removal of pointer-events property

This commit is contained in:
Ennea
2024-09-02 13:05:30 +02:00
parent 0ea648ad6d
commit 862d495a71
+1 -1
View File
@@ -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);