cleaner removal of pointer-events property
This commit is contained in:
@@ -84,7 +84,7 @@
|
|||||||
channelElement.firstChild.innerText = `(Locked) ${channelElement.firstChild.innerText}`;
|
channelElement.firstChild.innerText = `(Locked) ${channelElement.firstChild.innerText}`;
|
||||||
this.elements.channelSelect.style.pointerEvents = 'none';
|
this.elements.channelSelect.style.pointerEvents = 'none';
|
||||||
} else {
|
} else {
|
||||||
this.elements.channelSelect.style.pointerEvents = 'auto';
|
this.elements.channelSelect.style.removeProperty('pointer-events');
|
||||||
}
|
}
|
||||||
|
|
||||||
this.elements.channelHint.appendChild(channelElement);
|
this.elements.channelHint.appendChild(channelElement);
|
||||||
|
|||||||
Reference in New Issue
Block a user