From 7cb55cb86af2e7b6e9d69520225555e38de015dd Mon Sep 17 00:00:00 2001 From: Olivier Paroz Date: Thu, 25 Jun 2015 21:25:08 +0200 Subject: Adding the class is enough --- js/gallery.js | 1 - js/gallerybutton.js | 1 - 2 files changed, 2 deletions(-) diff --git a/js/gallery.js b/js/gallery.js index 290044b7..8cf45502 100644 --- a/js/gallery.js +++ b/js/gallery.js @@ -164,7 +164,6 @@ var button = $('#filelist-button'); button.addClass('loading'); - button.find('img').attr('src', OC.imagePath('core', 'loading-small.gif')); OC.redirect(OC.generateUrl(subUrl, params)); }, diff --git a/js/gallerybutton.js b/js/gallerybutton.js index 8f45de63..ca0d29a5 100644 --- a/js/gallerybutton.js +++ b/js/gallerybutton.js @@ -72,7 +72,6 @@ $(document).ready(function () { GalleryButton.button.click(function () { $(this).addClass('loading'); - $(this).find('img').attr('src', OC.imagePath('core', 'loading-small.gif')); window.location.href = GalleryButton.url; }); -- cgit v1.2.3