diff options
-rw-r--r-- | css/gallerybutton.css | 1 | ||||
-rw-r--r-- | js/galleryview.js | 6 |
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)); }; |