summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMark Christian2011-04-20 10:28:19 -0700
committerMark Christian2011-04-20 10:28:19 -0700
commitbee3fa86a4b02fa7506ad07c4deebf9ddde80238 (patch)
tree5a72df15ab5b58ffc1f0356921de569d6b853ade
parente7f47ffbc65ac3727c840e3eed8364ea5eacacb3 (diff)
downloadffffallback-bee3fa86a4b02fa7506ad07c4deebf9ddde80238.tar.bz2
Fix crash
-rw-r--r--bookmarklet/ffffallback.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/bookmarklet/ffffallback.js b/bookmarklet/ffffallback.js
index 1c5e498..c928c0f 100644
--- a/bookmarklet/ffffallback.js
+++ b/bookmarklet/ffffallback.js
@@ -274,7 +274,7 @@
// Copy padding. TBD -- give cloned copy negative version of padding as margin
// to counteract positioning? Doesn't seem necessary but not sure why.
- var bodyStyle = getComputedStyle(document.body);
+ var bodyStyle = $.getComputedStyleOfElement(document.body);
clonedCopy.style.paddingBottom = bodyStyle['padding-bottom'] || 0;
clonedCopy.style.paddingLeft = bodyStyle['padding-left'] || 0;
clonedCopy.style.paddingRight = bodyStyle['padding-right'] || 0;