Details
-
Bug
-
Resolution: Fixed
-
High
-
None
-
2.2.0
-
None
-
None
Description
there a JS error preventing any operation in review
AJS.$("#dynamicStyle").remove();//so we rip it out of the DOM, and give it a new one. sheet = document.createElement("style"); sheet.setAttribute("type", "text/css"); sheet.setAttribute("id", "dynamicStyle"); sheet.styleSheet.cssText = cascade; AJS.$("head").append(sheet);
In Chrome 5.x script is falling on line
sheet.styleSheet.cssText = cascade;
because there is no property styleSheet, but style.