diff options
author | Olivier Paroz <github@oparoz.com> | 2015-04-08 17:11:33 +0300 |
---|---|---|
committer | Olivier Paroz <github@oparoz.com> | 2015-04-08 17:11:33 +0300 |
commit | b558cca8a06e869cf171167107148cd5993c0b64 (patch) | |
tree | 9c406e14d59def418a587ca2ac642f0f10c1139c /js/galleryview.js | |
parent | 727a7c62d01b24dd437baf075d74ec714659e9ac (diff) |
Make it easily recognisable that we have a local description
A first implementation for #114
Diffstat (limited to 'js/galleryview.js')
-rw-r--r-- | js/galleryview.js | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/js/galleryview.js b/js/galleryview.js index 398c0c3f..effe5785 100644 --- a/js/galleryview.js +++ b/js/galleryview.js @@ -111,6 +111,11 @@ Gallery.view.infoButtonSetup = function () { infoButton.hide(); } else { infoButton.show(); + if (albumInfo.inherit === 'yes' && albumInfo.level > 0) { + infoButton.find('span').hide(); + } else { + infoButton.find('span').delay(1000).slideDown(); + } } }; |