Permalink
Browse files

Fixed IE style bug

  • Loading branch information...
1 parent cbedda9 commit dd651e1ab7315f7db16895e2d4dc4aada3145a75 Doug Martin committed Dec 22, 2011
Showing with 5 additions and 1 deletion.
  1. +5 −1 stopcensorship.js
View
@@ -33,7 +33,11 @@
if (styles) {
for (i in styles) {
if (styles.hasOwnProperty(i)) {
- node.style[i] = styles[i];
+ try {
+ node.style[i] = styles[i];
+ }
+ catch (e) {
+ }
}
}
}

0 comments on commit dd651e1

Please sign in to comment.