Provide a defualt

This commit is contained in:
Ben Ogle
2013-11-21 14:34:49 -08:00
parent c2371f3054
commit 6fa7da79eb

View File

@@ -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: