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:
Diffstat (limited to 'js/galleryview.js')
-rw-r--r--js/galleryview.js6
1 files changed, 3 insertions, 3 deletions
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));
};