summaryrefslogtreecommitdiff
path: root/template/frontpage_share_buttons.st
diff options
context:
space:
mode:
authorScott Ostler <scottbot9000@gmail.com>2011-02-22 01:21:00 -0500
committerScott Ostler <scottbot9000@gmail.com>2011-02-22 01:21:00 -0500
commitccd0ddba1df405b6560821903bfa820bf4c54d10 (patch)
tree19d0e048613cb7227deaadcf682a047db06f049a /template/frontpage_share_buttons.st
parent663766fb5e0b53c465f5277ea561cca1399521ed (diff)
add updating fav counts
Diffstat (limited to 'template/frontpage_share_buttons.st')
-rw-r--r--template/frontpage_share_buttons.st4
1 files changed, 2 insertions, 2 deletions
diff --git a/template/frontpage_share_buttons.st b/template/frontpage_share_buttons.st
index 003795e..020f60e 100644
--- a/template/frontpage_share_buttons.st
+++ b/template/frontpage_share_buttons.st
@@ -1,10 +1,10 @@
<span class="buttons frontpage">
<a class="permalink" href="$domain$/p/$dump.nick$/$dump.message_id$"><img src="$domain$/static/img/link.gif"></a>
$if(dump.favorited)$
- <img src="/static/img/thumbs/heartfaved.gif" class="thumb favorite" onclick="Tag.frontpage_fav(this)">
+ <img src="/static/img/thumbs/heartfaved.gif" class="thumb favorite" onclick="Tag.animated_fav(this, '.hallscore', '60px', '40px')">
$else$
<div style="position: relative">
- <img src="/static/img/thumbs/heart.gif" class="thumb" onclick="Tag.frontpage_fav(this)">
+ <img src="/static/img/thumbs/heart.gif" class="thumb" onclick="Tag.animated_fav(this, '.hallscore', '60px', '40px')">
</div>
$endif$
</span>