From 5b5dc610bc0da17fd006982de50b4dc74b134a54 Mon Sep 17 00:00:00 2001 From: Mark Powers Date: Tue, 5 Jan 2021 20:25:10 -0600 Subject: Refactor likes to use JS to avoid redirect --- src/templates/feed.html | 4 ++-- src/templates/header.html | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'src/templates') 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 @@ {{this}} {{/each}} - + 👍 ({{this.likes}}) - +
{{/each}} diff --git a/src/templates/header.html b/src/templates/header.html index 2ceebfd..1989b04 100644 --- a/src/templates/header.html +++ b/src/templates/header.html @@ -2,4 +2,4 @@ - + -- cgit v1.2.3