diff --git a/common/content/browser.js b/common/content/browser.js index 484d654b..e3c789e0 100644 --- a/common/content/browser.js +++ b/common/content/browser.js @@ -14,7 +14,7 @@ var Browser = Module("browser", { }, { climbUrlPath: function (count) { - let url = buffer.URI; + let url = buffer.URI.clone(); dactyl.assert(url instanceof Ci.nsIURL); while (count-- && url.path != "/") diff --git a/common/content/editor.js b/common/content/editor.js index 96beaeb2..2448c7cb 100644 --- a/common/content/editor.js +++ b/common/content/editor.js @@ -578,7 +578,7 @@ var Editor = Module("editor", { [""], "Edit text field with an external editor", function () { editor.editFieldExternally(); }); - mappings.add([modes.INSERT], + mappings.add([modes.INSERT, modes.COMMAND_LINE], [""], "Edit text field in Vi mode", function () { dactyl.assert(!editor.isTextEdit);