Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/gallery.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOlivier Paroz <github@oparoz.com>2015-04-06 00:28:42 +0300
committerOlivier Paroz <github@oparoz.com>2015-04-06 00:28:42 +0300
commit4191190bf334492e8799d11dfda25142748b66bd (patch)
treed7dd9aae2daec4a340fb18a5cb20bfd4258ea2ee /js/galleryview.js
parent675624b423dad6c0a23bde2f4477083b2daca754 (diff)
Several fixes for the album configuration
Diffstat (limited to 'js/galleryview.js')
-rw-r--r--js/galleryview.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/js/galleryview.js b/js/galleryview.js
index ad886e41..55a95336 100644
--- a/js/galleryview.js
+++ b/js/galleryview.js
@@ -103,6 +103,7 @@ Gallery.view.infoButtonSetup = function () {
infoContentElement.css('max-height', $(window).height() - 150);
var albumInfo = Gallery.albumConfig.getAlbumInfo();
if ($.isEmptyObject(albumInfo.description) &&
+ $.isEmptyObject(albumInfo.descriptionLink) &&
$.isEmptyObject(albumInfo.copyright) &&
$.isEmptyObject(albumInfo.copyrightLink)) {
infoButton.hide();