Fix #4 - Do not trigger loading if mode='loading'
Signed-off-by: James Ketrenos <james_git@ketrenos.com>
This commit is contained in:
parent
88e3a284b7
commit
4b8b5bb2fe
@ -660,7 +660,7 @@
|
|||||||
console.log("Mode changed to " + mode);
|
console.log("Mode changed to " + mode);
|
||||||
this.path = "";
|
this.path = "";
|
||||||
this.resetPhotos();
|
this.resetPhotos();
|
||||||
if (mode != "login") {
|
if (mode != "login" && mode != "loading") {
|
||||||
this._loadAlbums();
|
this._loadAlbums();
|
||||||
this._loadPhotos();
|
this._loadPhotos();
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user