Add JS to vote on reviews without form submit

Fixes #329
This commit is contained in:
rubenwardy
2023-08-21 00:13:22 +01:00
parent 2a9f2924da
commit dca6e82594
9 changed files with 104 additions and 4 deletions

View File

@@ -25,6 +25,10 @@
<meta name="og:image" content="{{ thread.author.get_profile_pic_url() }}"/>
{% endblock %}
{% block scriptextra %}
<script src="/static/quick_review_voting.js"></script>
{% endblock %}
{% block content %}
{% if current_user.is_authenticated %}
{% if current_user in thread.watchers %}