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-04 01:59:01 +0300
committerOlivier Paroz <github@oparoz.com>2015-04-04 01:59:01 +0300
commitd7b8a33d5027e30098bbe5fbfb2b040121ff7a9b (patch)
treee2d0cd21afefc5bd657d39f7cbac2915e007205e /js/galleryview.js
parent046783374ca01a30494ff5c3e1d906f716311e8f (diff)
Add inheritance support to the album configuration
Diffstat (limited to 'js/galleryview.js')
-rw-r--r--js/galleryview.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/js/galleryview.js b/js/galleryview.js
index f829a8ed..d2e26cc1 100644
--- a/js/galleryview.js
+++ b/js/galleryview.js
@@ -101,7 +101,7 @@ Gallery.view.infoButtonSetup = function () {
var infoContentElement = $('.album-info-content');
infoContentElement.slideUp();
infoContentElement.css('max-height', $(window).height() - 150);
- var albumInfo = Gallery.albumsInfo[Gallery.currentAlbum];
+ var albumInfo = Gallery.albumConfig.getAlbumInfo();
if ($.isEmptyObject(albumInfo.description) &&
$.isEmptyObject(albumInfo.copyright) &&
$.isEmptyObject(albumInfo.copyrightLink)) {