aboutsummaryrefslogtreecommitdiff
path: root/src/templates/feed.html
diff options
context:
space:
mode:
Diffstat (limited to 'src/templates/feed.html')
-rw-r--r--src/templates/feed.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/templates/feed.html b/src/templates/feed.html
index ae3494c..3ea4f16 100644
--- a/src/templates/feed.html
+++ b/src/templates/feed.html
@@ -21,9 +21,9 @@
<a class="tag" href="/tags/{{this}}">{{this}}</a>
{{/each}}
</span>
- <a class="cool btn btn-secondary" href="/post/like/{{this.type}}/{{this.id}}">
+ <span class="cool btn btn-secondary" onclick="likePost('{{this.type}}', {{this.id}})" id="btn_{{this.type}}_{{this.id}}">
&#128077; ({{this.likes}})
- </a>
+ </span>
</p>
</div>
{{/each}}