Skip to content

Commit 36bf084

Browse files
committed
refactor: only import lingo macro for title to save memory
1 parent 74879e1 commit 36bf084

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

core/modules/startup/render.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ exports.startup = function() {
3232
$tw.titleWidgetNode = $tw.wiki.makeTranscludeWidget(PAGE_TITLE_TITLE, {
3333
document: $tw.fakeDocument,
3434
parseAsInline: true,
35-
importPageMacros: true,
35+
importVariables: "[[$:/core/macros/lingo]]",
3636
});
3737
$tw.titleContainer = $tw.fakeDocument.createElement("div");
3838
$tw.titleWidgetNode.render($tw.titleContainer,null);

0 commit comments

Comments
 (0)