Apply the fix, suggested by Github userx4080, issue 1371

This commit is contained in:
Erjan Gavalji
2016-02-04 15:58:38 +02:00
parent 343e15679b
commit 69ef5ffc49

View File

@ -151,11 +151,10 @@ export class ListView extends common.ListView {
var length = keys.length;
var view: viewModule.View;
var key;
for (i = 0; i < length; i++) {
key = keys[i];
view = this._realizedItems[key];
if (view[REALIZED_INDEX] < this.items.length) {
this.notify({
eventName: ITEMLOADING,
object: this,
@ -164,6 +163,7 @@ export class ListView extends common.ListView {
});
}
}
}
}
var ListViewAdapterClass;