kopia lustrzana https://github.com/miklobit/TiddlyWiki5
Fix problem with non-shadow stylesheets not being recognised at startup
rodzic
29ac7c75d8
commit
d19affc9c3
|
@ -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);
|
||||
});
|
||||
|
|
Ładowanie…
Reference in New Issue