From 44b798b423c391dcb0c2b4425d4e9274da73a8b7 Mon Sep 17 00:00:00 2001 From: Mouse Reeve Date: Wed, 11 Nov 2020 18:32:52 -0800 Subject: [PATCH] Puts reply form below button that shows it still think this is janky. --- bookwyrm/static/js/shared.js | 1 + bookwyrm/templates/snippets/status_body.html | 42 ++++++++++---------- 2 files changed, 22 insertions(+), 21 deletions(-) diff --git a/bookwyrm/static/js/shared.js b/bookwyrm/static/js/shared.js index 5f87ee0a5..7bac49124 100644 --- a/bookwyrm/static/js/shared.js +++ b/bookwyrm/static/js/shared.js @@ -20,6 +20,7 @@ function reply(e) { return true; } + function rate_stars(e) { e.preventDefault(); ajaxPost(e.target); diff --git a/bookwyrm/templates/snippets/status_body.html b/bookwyrm/templates/snippets/status_body.html index 2bd1d6eb5..4ef763fb4 100644 --- a/bookwyrm/templates/snippets/status_body.html +++ b/bookwyrm/templates/snippets/status_body.html @@ -18,24 +18,13 @@