mirror of
https://github.com/Jermolene/TiddlyWiki5.git
synced 2026-01-06 09:13:38 -08:00
Fix problem with non-shadow stylesheets not being recognised at startup
This commit is contained in:
parent
29ac7c75d8
commit
d19affc9c3
1 changed files with 1 additions and 1 deletions
|
|
@ -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);
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue