From 4b5138b96ec2c85273d55cec6da41e36c5647e5d Mon Sep 17 00:00:00 2001 From: toasted-nutbread Date: Tue, 17 Dec 2019 20:54:57 -0500 Subject: [PATCH] Override pointer-events with important --- ext/fg/js/document.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ext/fg/js/document.js b/ext/fg/js/document.js index 97e0d70c..d54a2e44 100644 --- a/ext/fg/js/document.js +++ b/ext/fg/js/document.js @@ -321,7 +321,7 @@ function disableTransparentElement(elements, i, modifications) { if (isElementTransparent(element)) { const style = element.hasAttribute('style') ? element.getAttribute('style') : null; modifications.push({element, style}); - element.style.pointerEvents = 'none'; + element.style.setProperty('pointer-events', 'none', 'important'); return i; } }