From b7459e3157c2dc2fab9f099eb7c4516e20841011 Mon Sep 17 00:00:00 2001 From: James Ketrenos Date: Sun, 30 Sep 2018 18:01:47 -0700 Subject: [PATCH] Fix #4 - Do not trigger loading if mode='loading' Signed-off-by: James Ketrenos --- frontend/src/ketr-photos/ketr-photos.html | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/frontend/src/ketr-photos/ketr-photos.html b/frontend/src/ketr-photos/ketr-photos.html index e58b764..e1d14fb 100755 --- a/frontend/src/ketr-photos/ketr-photos.html +++ b/frontend/src/ketr-photos/ketr-photos.html @@ -1095,10 +1095,10 @@ }, _loadPhotos: function(start, append, limit) { - if (mode == "login" || mode == "loading") { + if (this.mode == "login" || this.mode == "loading") { return; } - + if (this.loading == true) { return; } @@ -1188,7 +1188,7 @@ }, _loadAlbums: function() { - if (mode == "login" || mode == "loading") { + if (this.mode == "login" || this.mode == "loading") { return; }