1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2025-12-21 14:07:58 +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

@@ -188,9 +188,7 @@ const Browser = Module("browser", {
function () {
window.QueryInterface(Ci.nsIInterfaceRequestor)
.getInterface(Ci.nsIDOMWindowUtils).redraw();
commandline.widgets.message = null;
if (modes.main != modes.COMMAND_LINE)
commandline.widgets.command = null;
commandline.clear();
},
{ argCount: "0" });
}