mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2026-02-07 06:55:45 +01:00
Remove leftover dump statement.
This commit is contained in:
@@ -41,7 +41,7 @@ var Editor = Module("editor", {
|
||||
get isTextEdit() modes.getStack(1).main == modes.TEXT_EDIT,
|
||||
|
||||
deselectText: function () {
|
||||
if (this.selection)
|
||||
if (this.selection && this.selection.focusNode)
|
||||
this.selection.collapse(this.selection.focusNode,
|
||||
this.selection.focusOffset);
|
||||
},
|
||||
|
||||
@@ -1400,7 +1400,6 @@ var Commands = Module("commands", {
|
||||
};
|
||||
|
||||
completion.exMacro = function exMacro(context, args, cmd) {
|
||||
util.dump(cmd.action.macro, cmd.action);
|
||||
if (!cmd.action.macro)
|
||||
return;
|
||||
let { macro } = cmd.action;
|
||||
|
||||
@@ -601,7 +601,7 @@ var CompletionContext = Class("CompletionContext", {
|
||||
}
|
||||
this.offset += count;
|
||||
if (this._filter)
|
||||
this._filter = this._filter.substr(advance);
|
||||
this._filter = this._filter.substr(arguments[0] || 0);
|
||||
},
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user