1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2025-12-20 04:07:59 +01:00

Don't use modes.clear() to clear the last message and some collateral fixes.

This commit is contained in:
Kris Maglione
2010-09-28 23:01:21 -04:00
parent c2c33b77fb
commit ea6ae88d4e
4 changed files with 21 additions and 17 deletions

View File

@@ -161,7 +161,7 @@ const Buffer = Module("buffer", {
// called when the active document is scrolled
_updateBufferPosition: function _updateBufferPosition() {
statusline.updateBufferPosition();
modes.show(); // Clear the status line.
commandline.clear();
},
onDOMContentLoaded: function onDOMContentLoaded(event) {
@@ -273,7 +273,7 @@ const Buffer = Module("buffer", {
util.timeout(function () {
statusline.updateBufferPosition();
statusline.updateZoomLevel();
modes.show(); // Clear the status line.
commandline.clear();
}, 500);
},
// called at the very end of a page load
@@ -295,7 +295,7 @@ const Buffer = Module("buffer", {
if (ssli == 1)
statusline.updateUrl();
else if (ssli == 2)
modes.show();
commandline.clear();
}
},
}),