mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2025-12-28 21:22:28 +01:00
Clean up so loose ends from the recent Command#execute refactoring.
This fixes [count]u. --HG-- extra : rebase_source : a453a99a757e434b6ce1758320d5840d8286002e
This commit is contained in:
@@ -156,7 +156,7 @@ const Browser = Module("browser", {
|
||||
|
||||
mappings.add([modes.NORMAL], ["<C-l>"],
|
||||
"Redraw the screen",
|
||||
function () { commands.get("redraw").execute("", false); });
|
||||
function () { dactyl.execute("redraw"); });
|
||||
},
|
||||
|
||||
commands: function () {
|
||||
@@ -186,9 +186,8 @@ const Browser = Module("browser", {
|
||||
commands.add(["redr[aw]"],
|
||||
"Redraw the screen",
|
||||
function () {
|
||||
let wu = window.QueryInterface(Ci.nsIInterfaceRequestor)
|
||||
.getInterface(Ci.nsIDOMWindowUtils);
|
||||
wu.redraw();
|
||||
window.QueryInterface(Ci.nsIInterfaceRequestor)
|
||||
.getInterface(Ci.nsIDOMWindowUtils).redraw();
|
||||
modes.show();
|
||||
},
|
||||
{ argCount: "0" });
|
||||
|
||||
Reference in New Issue
Block a user