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:
@@ -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" });
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user