Refactoring

This commit is contained in:
syuilo
2019-05-21 03:20:16 +09:00
parent 5511b6e013
commit b335975c97
2 changed files with 20 additions and 48 deletions

View File

@ -117,7 +117,7 @@ export default (opts) => ({
if (cancel) return;
}
if (this.isScrollTop()) {
if (this.isScrollTop == null || this.isScrollTop()) {
// Prepend the item
this.items.unshift(item);