зеркало из https://github.com/mozilla/pjs.git
followup kinda-typo fix to bug 443370, use correct index to fix error when doing async autocomplete updates, r=Neil over IRC, NPOTB for FF
This commit is contained in:
Родитель
6073b95a00
Коммит
68e493056e
|
@ -1325,7 +1325,7 @@
|
||||||
count -= this.mCounts[oldIndex];
|
count -= this.mCounts[oldIndex];
|
||||||
this.mCounts[oldIndex] += count;
|
this.mCounts[oldIndex] += count;
|
||||||
while (++oldIndex < this.mCounts.length)
|
while (++oldIndex < this.mCounts.length)
|
||||||
row -= this.mCounts[i];
|
row -= this.mCounts[oldIndex];
|
||||||
}
|
}
|
||||||
this.mRowCount += count;
|
this.mRowCount += count;
|
||||||
|
|
||||||
|
|
Загрузка…
Ссылка в новой задаче