diff options
author | Olivier Paroz <github@oparoz.com> | 2015-09-21 18:14:19 +0300 |
---|---|---|
committer | Olivier Paroz <github@oparoz.com> | 2015-09-21 18:21:31 +0300 |
commit | 558186a025ee6585d6f5016f933bc1f700fb57ee (patch) | |
tree | dc9fc08fd65a9900ae79bd34bef9cb21c31936bd /js/galleryview.js | |
parent | b6012f21760783c19cc1c5c7b645a19be9d500db (diff) |
Fix spinners for themes
Spinners come in many forms and CSS spinners can't be applied as a background property like GIFs, which means that they need their own DIV
Diffstat (limited to 'js/galleryview.js')
-rw-r--r-- | js/galleryview.js | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/js/galleryview.js b/js/galleryview.js index 7dd4c13c..499808ef 100644 --- a/js/galleryview.js +++ b/js/galleryview.js @@ -251,9 +251,9 @@ _infoButtonSetup: function () { var infoButton = $('#album-info-button'); infoButton.find('span').hide(); - var infoContentElement = $('.album-info-content'); - infoContentElement.slideUp(); - infoContentElement.css('max-height', $(window).height() - Gallery.browserToolbarHeight); + var infoContentContainer = $('.album-info-container'); + infoContentContainer.slideUp(); + infoContentContainer.css('max-height', $(window).height() - Gallery.browserToolbarHeight); var albumInfo = Gallery.config.albumInfo; if (Gallery.config.albumError) { infoButton.hide(); |