mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2025-12-21 10:47:58 +01:00
Fix some startup bottlenecks.
This commit is contained in:
@@ -317,8 +317,11 @@ var CommandWidgets = Class("CommandWidgets", {
|
||||
return document.getElementById("dactyl-contextmenu");
|
||||
}),
|
||||
|
||||
multilineOutputReady: false,
|
||||
|
||||
multilineOutput: Class.Memoize(function () {
|
||||
return this._whenReady("dactyl-multiline-output", elem => {
|
||||
this.multilineOutputReady = true;
|
||||
highlight.highlightNode(elem.contentDocument.body, "MOW");
|
||||
});
|
||||
}, true),
|
||||
|
||||
Reference in New Issue
Block a user