From 558186a025ee6585d6f5016f933bc1f700fb57ee Mon Sep 17 00:00:00 2001 From: Olivier Paroz Date: Mon, 21 Sep 2015 17:14:19 +0200 Subject: 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 --- js/galleryview.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'js/galleryview.js') 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(); -- cgit v1.2.3