add confirmation dialog to "remove follow"

master
Aevann1 2022-10-30 17:07:10 +02:00
parent 4e6633baa6
commit b8f4d36f92
1 changed files with 1 additions and 1 deletions

View File

@ -19,7 +19,7 @@
<td>{% include "user_in_table.html" %}</td>
<td {% if follow.created_utc > 1599343262 %}data-time="{{follow.created_utc}}"{% endif %}></td>
{% if v.id == u.id %}
<td><div class="btn btn-danger" onclick="removeFollower(this, '{{user.username}}')">Remove follow</div></td>
<td><div class="btn btn-danger" data-click="removeFollower(this, '{{user.username}}')" onclick="areyousure(this)">Remove follow</div></td>
{% endif %}
</tr>
{% endfor %}