diff options
author | Olivier Paroz <github@oparoz.com> | 2015-09-19 12:52:22 +0300 |
---|---|---|
committer | Olivier Paroz <github@oparoz.com> | 2015-09-19 12:52:22 +0300 |
commit | 7cd60d548ac863b23fb8b12a3274c77784f0617a (patch) | |
tree | ba5cad24bfd7621b0e0eadac638e8900005832ce /js | |
parent | fbb85c0cfc31ad3646fd3def2ff9b159f094e537 (diff) |
Hide the loading indicator on empty content...again
[ci skip]
Diffstat (limited to 'js')
-rw-r--r-- | js/gallery.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/js/gallery.js b/js/gallery.js index f8a5d244..245f2edb 100644 --- a/js/gallery.js +++ b/js/gallery.js @@ -269,7 +269,7 @@ emptyContentElement.html(message); emptyContentElement.removeClass('hidden'); $('#controls').addClass('hidden'); - $('#content').removeClass('icon-loading'); + $('#loading-indicator').hide(); }, /** @@ -281,7 +281,7 @@ "I am sorry, but I could not find any media files at this location."); emptyContentElement.html(message); emptyContentElement.removeClass('hidden'); - $('#content').removeClass('icon-loading'); + $('#loading-indicator').hide(); $('#album-info-button').hide(); $('#share-button').hide(); $('#sort-name-button').hide(); |