mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2024-12-25 01:20:30 +00:00
Fixed problem with non-shadow style tiddlers not being recognised
This commit is contained in:
parent
77568bbe39
commit
3806168038
@ -20,7 +20,7 @@ function StylesheetManager(wiki) {
|
|||||||
this.stylesheets = {}; // Hashmap of currently rendered stylesheets
|
this.stylesheets = {}; // Hashmap of currently rendered stylesheets
|
||||||
// Apply initial stylesheets
|
// Apply initial stylesheets
|
||||||
var self = this,
|
var self = this,
|
||||||
stylesheetTiddlers = this.wiki.filterTiddlers("[is[shadow]!has[draft.of]tag[" + STYLESHEET_TAG + "]]");
|
stylesheetTiddlers = this.wiki.filterTiddlers("[!has[draft.of]tag[" + STYLESHEET_TAG + "]]");
|
||||||
$tw.utils.each(stylesheetTiddlers,function(title,index) {
|
$tw.utils.each(stylesheetTiddlers,function(title,index) {
|
||||||
self.addStylesheet(title);
|
self.addStylesheet(title);
|
||||||
});
|
});
|
||||||
|
Loading…
Reference in New Issue
Block a user