aboutsummaryrefslogtreecommitdiff
path: root/ext
diff options
context:
space:
mode:
authortoasted-nutbread <toasted-nutbread@users.noreply.github.com>2019-12-17 20:54:57 -0500
committertoasted-nutbread <toasted-nutbread@users.noreply.github.com>2019-12-17 20:54:57 -0500
commit4b5138b96ec2c85273d55cec6da41e36c5647e5d (patch)
tree1b1f510875f782b06f2acc442b39afabea1145d7 /ext
parentff1f256ffa18e8b463f7ce72ed9bd5b8c3c62ff7 (diff)
Override pointer-events with important
Diffstat (limited to 'ext')
-rw-r--r--ext/fg/js/document.js2
1 files changed, 1 insertions, 1 deletions
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;
}
}