Override pointer-events with important
This commit is contained in:
parent
ff1f256ffa
commit
4b5138b96e
@ -321,7 +321,7 @@ function disableTransparentElement(elements, i, modifications) {
|
|||||||
if (isElementTransparent(element)) {
|
if (isElementTransparent(element)) {
|
||||||
const style = element.hasAttribute('style') ? element.getAttribute('style') : null;
|
const style = element.hasAttribute('style') ? element.getAttribute('style') : null;
|
||||||
modifications.push({element, style});
|
modifications.push({element, style});
|
||||||
element.style.pointerEvents = 'none';
|
element.style.setProperty('pointer-events', 'none', 'important');
|
||||||
return i;
|
return i;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user