mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2024-12-28 19:10:28 +00:00
refactor: only import lingo macro for title to save memory
This commit is contained in:
parent
74879e1f54
commit
36bf0848e0
@ -32,7 +32,7 @@ exports.startup = function() {
|
||||
$tw.titleWidgetNode = $tw.wiki.makeTranscludeWidget(PAGE_TITLE_TITLE, {
|
||||
document: $tw.fakeDocument,
|
||||
parseAsInline: true,
|
||||
importPageMacros: true,
|
||||
importVariables: "[[$:/core/macros/lingo]]",
|
||||
});
|
||||
$tw.titleContainer = $tw.fakeDocument.createElement("div");
|
||||
$tw.titleWidgetNode.render($tw.titleContainer,null);
|
||||
|
Loading…
Reference in New Issue
Block a user