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

print-window-tiddler
Jeremy Ruston 2013-05-25 16:40:34 +01:00
rodzic 29ac7c75d8
commit d19affc9c3
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

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