1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2025-12-21 03:07:58 +01:00

Fix unduly early loading of the commandline module.

This commit is contained in:
Kris Maglione
2011-02-03 10:30:35 -05:00
parent b2358eb152
commit 8ac70cbaed
6 changed files with 15 additions and 13 deletions

View File

@@ -346,7 +346,8 @@ var Buffer = Module("buffer", {
util.timeout(function () {
statusline.updateBufferPosition();
statusline.updateZoomLevel();
commandline.clear();
if (loaded.commandline)
commandline.clear();
}, 500);
},
// called at the very end of a page load