diff options
author | Olivier Paroz <github@oparoz.com> | 2015-09-13 21:41:34 +0300 |
---|---|---|
committer | Olivier Paroz <github@oparoz.com> | 2015-09-13 21:41:34 +0300 |
commit | a147e1a50e6044687226e60ad471d9b0ac50eb0c (patch) | |
tree | b494dce648f39f99c25c89443f8763db85bec477 /js/galleryview.js | |
parent | 83e9672f184aa1f849f2e7c4f5517e29f3fe7e01 (diff) |
Add new spinner to infobox and stop it on empty gallery content
Diffstat (limited to 'js/galleryview.js')
-rw-r--r-- | js/galleryview.js | 2 |
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); |