mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2025-12-22 04:57:59 +01:00
Fix gu on Gecko 2. Closes issue #244.
This commit is contained in:
@@ -14,7 +14,7 @@
|
|||||||
var Browser = Module("browser", {
|
var Browser = Module("browser", {
|
||||||
}, {
|
}, {
|
||||||
climbUrlPath: function (count) {
|
climbUrlPath: function (count) {
|
||||||
let url = buffer.URI;
|
let url = buffer.URI.clone();
|
||||||
dactyl.assert(url instanceof Ci.nsIURL);
|
dactyl.assert(url instanceof Ci.nsIURL);
|
||||||
|
|
||||||
while (count-- && url.path != "/")
|
while (count-- && url.path != "/")
|
||||||
|
|||||||
@@ -578,7 +578,7 @@ var Editor = Module("editor", {
|
|||||||
["<C-i>"], "Edit text field with an external editor",
|
["<C-i>"], "Edit text field with an external editor",
|
||||||
function () { editor.editFieldExternally(); });
|
function () { editor.editFieldExternally(); });
|
||||||
|
|
||||||
mappings.add([modes.INSERT],
|
mappings.add([modes.INSERT, modes.COMMAND_LINE],
|
||||||
["<C-t>"], "Edit text field in Vi mode",
|
["<C-t>"], "Edit text field in Vi mode",
|
||||||
function () {
|
function () {
|
||||||
dactyl.assert(!editor.isTextEdit);
|
dactyl.assert(!editor.isTextEdit);
|
||||||
|
|||||||
Reference in New Issue
Block a user