diff options
author | Olivier Paroz <github@oparoz.com> | 2015-04-04 01:59:01 +0300 |
---|---|---|
committer | Olivier Paroz <github@oparoz.com> | 2015-04-04 01:59:01 +0300 |
commit | d7b8a33d5027e30098bbe5fbfb2b040121ff7a9b (patch) | |
tree | e2d0cd21afefc5bd657d39f7cbac2915e007205e /js/galleryview.js | |
parent | 046783374ca01a30494ff5c3e1d906f716311e8f (diff) |
Add inheritance support to the album configuration
Diffstat (limited to 'js/galleryview.js')
-rw-r--r-- | js/galleryview.js | 2 |
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)) { |