From d19affc9c3fdd648531d54d87a7abee3056ffbdf Mon Sep 17 00:00:00 2001 From: Jeremy Ruston Date: Sat, 25 May 2013 16:40:34 +0100 Subject: [PATCH] Fix problem with non-shadow stylesheets not being recognised at startup --- core/modules/utils/dom/styles.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/modules/utils/dom/styles.js b/core/modules/utils/dom/styles.js index 8ad2bfdea..8390c0016 100644 --- a/core/modules/utils/dom/styles.js +++ b/core/modules/utils/dom/styles.js @@ -20,7 +20,7 @@ function StylesheetManager(wiki) { this.stylesheets = {}; // Hashmap of currently rendered stylesheets // Apply initial stylesheets var self = this, - stylesheetTiddlers = this.wiki.filterTiddlers("[!has[draft.of]tag[" + STYLESHEET_TAG + "]]"); + stylesheetTiddlers = this.wiki.filterTiddlers("[is[shadow]!has[draft.of]tag[" + STYLESHEET_TAG + "]] [!is[shadow]!has[draft.of]tag[" + STYLESHEET_TAG + "]]"); $tw.utils.each(stylesheetTiddlers,function(title,index) { self.addStylesheet(title); });