aboutsummaryrefslogtreecommitdiffstats
path: root/js/main.js
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2012-10-27 05:26:34 -0700
committerfriendica <info@friendica.com>2012-10-27 05:26:34 -0700
commit1a9ab127482ee4eb17e3d2bd0ffa222f7053715b (patch)
tree780f6659e29d4a9051cb82e62dfddacd6821a782 /js/main.js
parent96c8e74438d4f7c324c96893720fd4018925de4f (diff)
downloadvolse-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.js2
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');