From 6fa7da79ebebdf2ad03ef58b57a0606083ac10ce Mon Sep 17 00:00:00 2001 From: Ben Ogle Date: Thu, 21 Nov 2013 14:34:49 -0800 Subject: [PATCH] Provide a defualt --- src/theme-manager.coffee | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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: