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:
Diffstat (limited to 'js/gallerybutton.js')
-rw-r--r--js/gallerybutton.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/js/gallerybutton.js b/js/gallerybutton.js
index 970cbde0..8f45de63 100644
--- a/js/gallerybutton.js
+++ b/js/gallerybutton.js
@@ -71,6 +71,8 @@ $(document).ready(function () {
'</div>');
GalleryButton.button.click(function () {
+ $(this).addClass('loading');
+ $(this).find('img').attr('src', OC.imagePath('core', 'loading-small.gif'));
window.location.href = GalleryButton.url;
});