Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/gallery.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOlivier Paroz <github@oparoz.com>2015-09-13 21:41:34 +0300
committerOlivier Paroz <github@oparoz.com>2015-09-13 21:41:34 +0300
commita147e1a50e6044687226e60ad471d9b0ac50eb0c (patch)
treeb494dce648f39f99c25c89443f8763db85bec477 /js/galleryview.js
parent83e9672f184aa1f849f2e7c4f5517e29f3fe7e01 (diff)
Add new spinner to infobox and stop it on empty gallery content
Diffstat (limited to 'js/galleryview.js')
-rw-r--r--js/galleryview.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/js/galleryview.js b/js/galleryview.js
index 00c1830e..37a7a7b6 100644
--- a/js/galleryview.js
+++ b/js/galleryview.js
@@ -43,8 +43,10 @@
this.clear();
if (albumPath === '') {
Gallery.showEmpty();
+ this.spinner.stop(this.spinnerDiv);
} else {
Gallery.showEmptyFolder();
+ this.spinner.stop(this.spinnerDiv);
Gallery.currentAlbum = albumPath;
this.breadcrumb = new Gallery.Breadcrumb(albumPath);
this.breadcrumb.setMaxWidth($(window).width() - Gallery.buttonsWidth);