fix starring posts

This commit is contained in:
friendica
2012-10-27 05:26:34 -07:00
parent 96c8e74438
commit 1a9ab12748
4 changed files with 12 additions and 12 deletions

View File

@@ -548,7 +548,7 @@ function updateConvItems(mode,data) {
ident = ident.toString();
$('#like-rotator-' + ident).show();
$.get('starred/' + ident, function(data) {
if(data.match(/1/)) {
if(data.result == 1) {
$('#starred-' + ident).addClass('starred');
$('#starred-' + ident).removeClass('unstarred');
$('#star-' + ident).addClass('hidden');