diff --git a/src/theme-manager.coffee b/src/theme-manager.coffee index 821fcadda..67248e2a3 100644 --- a/src/theme-manager.coffee +++ b/src/theme-manager.coffee @@ -112,7 +112,7 @@ class ThemeManager @requireStylesheet(nativeStylesheetPath) # Internal-only: - stylesheetElementForId: (id, htmlElement) -> + stylesheetElementForId: (id, htmlElement=$('html')) -> htmlElement.find("""head style[id="#{id}"]""") # Internal-only: