mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2025-12-22 00:17:58 +01:00
Fix gu on Gecko 2. Closes issue #244.
This commit is contained in:
@@ -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 != "/")
|
||||
|
||||
@@ -578,7 +578,7 @@ var Editor = Module("editor", {
|
||||
["<C-i>"], "Edit text field with an external editor",
|
||||
function () { editor.editFieldExternally(); });
|
||||
|
||||
mappings.add([modes.INSERT],
|
||||
mappings.add([modes.INSERT, modes.COMMAND_LINE],
|
||||
["<C-t>"], "Edit text field in Vi mode",
|
||||
function () {
|
||||
dactyl.assert(!editor.isTextEdit);
|
||||
|
||||
Reference in New Issue
Block a user