Fix #4 - Do not trigger loading if mode='loading'
Signed-off-by: James Ketrenos <james_git@ketrenos.com>
This commit is contained in:
parent
e777d6b5d4
commit
b7459e3157
@ -1095,7 +1095,7 @@
|
|||||||
},
|
},
|
||||||
|
|
||||||
_loadPhotos: function(start, append, limit) {
|
_loadPhotos: function(start, append, limit) {
|
||||||
if (mode == "login" || mode == "loading") {
|
if (this.mode == "login" || this.mode == "loading") {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -1188,7 +1188,7 @@
|
|||||||
},
|
},
|
||||||
|
|
||||||
_loadAlbums: function() {
|
_loadAlbums: function() {
|
||||||
if (mode == "login" || mode == "loading") {
|
if (this.mode == "login" || this.mode == "loading") {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user