diff options
Diffstat (limited to 'js/galleryview.js')
-rw-r--r-- | js/galleryview.js | 6 |
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)); }; |