mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2025-12-23 07:17:59 +01:00
Fix async complete bug again. Why did I change it when it was working? It was late.
This commit is contained in:
@@ -251,8 +251,9 @@ function CommandLine() //{{{
|
||||
|
||||
_reset: function _reset()
|
||||
{
|
||||
this.prefix = this.prefix + this.value.substr(0, this.start);
|
||||
this.value = this.value.substr(this.start);
|
||||
this.prefix = this.context.value.substring(0, this.start);
|
||||
this.value = this.context.value.substring(this.start, this.caret);
|
||||
this.suffix = this.context.value.substring(this.caret);
|
||||
|
||||
this.itemList.reset();
|
||||
this.itemList.selectItem(this.selected);
|
||||
|
||||
Reference in New Issue
Block a user