BloomBooks/BloomDesktop — pull request #175 by hatton (2014-12-03 23:02:02+00:00)
Title: Fix BL-744: Javascript error the first time a user modified a style

Our previous code created the necessary element in

, but in the
xulrunner 29 we're using, the element we added isn't a Stylesheet
object. So this fix gets the new stylesheet object from the
document.styleSheets array after creating that new element,
and then all is well.