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-08 17:11:33 +0300
committerOlivier Paroz <github@oparoz.com>2015-04-08 17:11:33 +0300
commitb558cca8a06e869cf171167107148cd5993c0b64 (patch)
tree9c406e14d59def418a587ca2ac642f0f10c1139c /js/galleryview.js
parent727a7c62d01b24dd437baf075d74ec714659e9ac (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.js5
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();
+ }
}
};