Skip to content
Browse files

Fixed a bug in BB10

BB10 Browser stated that style was read only. So I switched this up.
  • Loading branch information...
1 parent 3e182b5 commit 29b4c1e67c60af121082a214799f491a74f00837 Matt Lantz committed
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/alice.plugins.caterpillar.js
View
2 src/alice.plugins.caterpillar.js
@@ -97,7 +97,7 @@ alice.plugins.caterpillar = (function () {
numZ = "0",
piggy = document.createElement('div');
- piggy.style = myPageStyle;
+ piggy.setAttribute("style", myPageStyle);
piggy.setAttribute('id', '_piggy');
piggy.setAttribute('class', document.getElementById(pageName+id).getAttribute('class'));
piggy.style[alice.prefix+'backfaceVisibility'] = 'visible';

0 comments on commit 29b4c1e

Please sign in to comment.
Something went wrong with that request. Please try again.