diff options
author | friendica <info@friendica.com> | 2012-10-27 05:26:34 -0700 |
---|---|---|
committer | friendica <info@friendica.com> | 2012-10-27 05:26:34 -0700 |
commit | 1a9ab127482ee4eb17e3d2bd0ffa222f7053715b (patch) | |
tree | 780f6659e29d4a9051cb82e62dfddacd6821a782 /js/main.js | |
parent | 96c8e74438d4f7c324c96893720fd4018925de4f (diff) | |
download | volse-hubzilla-1a9ab127482ee4eb17e3d2bd0ffa222f7053715b.tar.gz volse-hubzilla-1a9ab127482ee4eb17e3d2bd0ffa222f7053715b.tar.bz2 volse-hubzilla-1a9ab127482ee4eb17e3d2bd0ffa222f7053715b.zip |
fix starring posts
Diffstat (limited to 'js/main.js')
-rw-r--r-- | js/main.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/js/main.js b/js/main.js index 330780e86..cda011c2e 100644 --- a/js/main.js +++ b/js/main.js @@ -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'); |