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/gallerybutton.js | 1 - 1 file changed, 1 deletion(-) (limited to 'js/gallerybutton.js') 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