summaryrefslogtreecommitdiff
path: root/template/share_buttons.st
diff options
context:
space:
mode:
Diffstat (limited to 'template/share_buttons.st')
-rw-r--r--template/share_buttons.st6
1 files changed, 4 insertions, 2 deletions
diff --git a/template/share_buttons.st b/template/share_buttons.st
index d061743..3f1f472 100644
--- a/template/share_buttons.st
+++ b/template/share_buttons.st
@@ -1,8 +1,10 @@
<div class="buttons">
-$if(dump.favorited)$
+$if(dump)$
+ $if(dump.favorited)$
<img src="/static/img/thumbs/color.left.gif" class="thumb favorite" onclick="Tag.favorite(this)">
-$else$
+ $else$
<img src="/static/img/thumbs/bw.left.gif" class="thumb" onclick="Tag.favorite(this)">
+ $endif$
$endif$
<span class="other-sites">
<img src="/static/img/share/tumblricon.png" class="share" onclick="Share.tumblr(this)">