aboutsummaryrefslogtreecommitdiffstats
path: root/platform
diff options
context:
space:
mode:
authorgorhill <rhill@raymondhill.net>2015-09-25 08:29:52 -0400
committergorhill <rhill@raymondhill.net>2015-09-25 08:29:52 -0400
commit69d4a0aa0ac8fd87412292894e2b5948a5861907 (patch)
treee0324e5321ff4e56bd23613ee3e493ce2f553878 /platform
parente858c912243d3f8ce01d5b88d3a9d589886e74cc (diff)
downloaduBlock-69d4a0aa0ac8fd87412292894e2b5948a5861907.zip
uBlock-69d4a0aa0ac8fd87412292894e2b5948a5861907.tar.gz
uBlock-69d4a0aa0ac8fd87412292894e2b5948a5861907.tar.bz2
attempt at fixing #362
Diffstat (limited to 'platform')
-rw-r--r--platform/firefox/vapi-background.js5
1 files changed, 4 insertions, 1 deletions
diff --git a/platform/firefox/vapi-background.js b/platform/firefox/vapi-background.js
index a74fd23..bf531c0 100644
--- a/platform/firefox/vapi-background.js
+++ b/platform/firefox/vapi-background.js
@@ -2131,9 +2131,12 @@ vAPI.toolbarButton = {
resizeTimer = null;
var body = iframe.contentDocument.body;
panel.parentNode.style.maxWidth = 'none';
+
+ // https://github.com/gorhill/uMatrix/issues/362
+ panel.parentNode.style.opacity = '1';
+
// https://github.com/chrisaljoudi/uBlock/issues/730
// Voodoo programming: this recipe works
-
var clientHeight = body.clientHeight;
iframe.style.height = toPx(clientHeight);
panel.style.height = toPx(clientHeight + panel.boxObject.height - panel.clientHeight);