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:
-rw-r--r--css/gallerybutton.css1
-rw-r--r--js/galleryview.js6
2 files changed, 4 insertions, 3 deletions
diff --git a/css/gallerybutton.css b/css/gallerybutton.css
index 10c144e6..f027e51f 100644
--- a/css/gallerybutton.css
+++ b/css/gallerybutton.css
@@ -47,6 +47,7 @@
opacity: 0.25;
}
+#controls .active-button,
#controls .disabled-button:hover,
#controls .disabled-button:focus,
#controls .disabled-button a:focus,
diff --git a/js/galleryview.js b/js/galleryview.js
index 9436562e..fc5397f9 100644
--- a/js/galleryview.js
+++ b/js/galleryview.js
@@ -129,9 +129,9 @@
var icon = sortType + sortOrder;
var setButton = function (button, icon, active) {
- button.removeClass('inactive-button');
- if (!active) {
- button.addClass('inactive-button');
+ button.removeClass('active-button');
+ if (active) {
+ button.addClass('active-button');
}
button.find('img').attr('src', OC.imagePath(Gallery.appName, icon));
};