aboutsummaryrefslogtreecommitdiffstats
path: root/js
diff options
context:
space:
mode:
authorFabio Comuni <fabrix.xm@gmail.com>2011-09-26 11:48:02 +0200
committerFabio Comuni <fabrix.xm@gmail.com>2011-09-26 11:48:02 +0200
commit968e7bb3b15cd4205e857c4245c5d328d17d6a66 (patch)
tree63ff52edd4a34c2a26c0b0688eeaa290bad7f514 /js
parent5792b3d3580b9f09460305858293398d8d8a9abf (diff)
downloadvolse-hubzilla-968e7bb3b15cd4205e857c4245c5d328d17d6a66.tar.gz
volse-hubzilla-968e7bb3b15cd4205e857c4245c5d328d17d6a66.tar.bz2
volse-hubzilla-968e7bb3b15cd4205e857c4245c5d328d17d6a66.zip
Fixes for testbubble
Diffstat (limited to 'js')
-rw-r--r--js/main.js4
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');