1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2025-12-20 06:07:59 +01:00

Fix history search issue introduced by revision 2da9a800c618.

This commit is contained in:
Kris Maglione
2011-01-30 11:19:44 -05:00
parent 64e9cfc545
commit 71ae0ca0cd
2 changed files with 3 additions and 3 deletions

View File

@@ -912,7 +912,7 @@ var CommandLine = Module("commandline", {
* @param {string} val The new value.
*/
replace: function replace(val) {
delete this.input.dactylKeyPress;
this.input.dactylKeyPress = undefined;
if (this.completions)
this.completions.previewClear();
this.input.value = val;
@@ -1031,7 +1031,7 @@ var CommandLine = Module("commandline", {
this.caret = this.prefix.length + completion.length;
this._caret = this.caret;
delete this.input.dactylKeyPress;
this.input.dactylKeyPress = undefined;
},
get caret() this.editor.selection.getRangeAt(0).startOffset,