1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-11-27 03:57:21 +00:00

Fix problem with non-shadow stylesheets not being recognised at startup

This commit is contained in:
Jeremy Ruston 2013-05-25 16:40:34 +01:00
parent 29ac7c75d8
commit d19affc9c3

View File

@ -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);
});