diff options
Diffstat (limited to 'js/main.js')
-rw-r--r-- | js/main.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/js/main.js b/js/main.js index f08b669e3..896cbeb56 100644 --- a/js/main.js +++ b/js/main.js @@ -267,12 +267,12 @@ $.get('starred/' + ident, function(data) { if(data.match(/1/)) { $('#starred-' + ident).addClass('starred'); - $('#starred-' + ident).removeClass('hidden'); + $('#starred-' + ident).removeClass('unstarred'); $('#star-' + ident).addClass('hidden'); $('#unstar-' + ident).removeClass('hidden'); } else { - $('#starred-' + ident).addClass('hidden'); + $('#starred-' + ident).addClass('unstarred'); $('#starred-' + ident).removeClass('starred'); $('#star-' + ident).removeClass('hidden'); $('#unstar-' + ident).addClass('hidden'); |