summaryrefslogtreecommitdiff
path: root/src/client/app/common/scripts
diff options
context:
space:
mode:
authorsyuilo <syuilotan@yahoo.co.jp>2019-05-21 03:20:16 +0900
committersyuilo <syuilotan@yahoo.co.jp>2019-05-21 03:20:16 +0900
commitb335975c972685fc5e47f22eef623f58a81ef315 (patch)
treeddfade3628c8ae79d54643fc04470d8a9fe3345f /src/client/app/common/scripts
parentRefactoring (diff)
downloadsharkey-b335975c972685fc5e47f22eef623f58a81ef315.tar.gz
sharkey-b335975c972685fc5e47f22eef623f58a81ef315.tar.bz2
sharkey-b335975c972685fc5e47f22eef623f58a81ef315.zip
Refactoring
Diffstat (limited to 'src/client/app/common/scripts')
-rw-r--r--src/client/app/common/scripts/paging.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/app/common/scripts/paging.ts b/src/client/app/common/scripts/paging.ts
index 458ee7e5ca..4875ce620f 100644
--- a/src/client/app/common/scripts/paging.ts
+++ b/src/client/app/common/scripts/paging.ts
@@ -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);