Fixes for testbubble

This commit is contained in:
Fabio Comuni 2011-09-26 11:48:02 +02:00
parent 5792b3d358
commit 968e7bb3b1
5 changed files with 101 additions and 49 deletions

View file

@ -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');