diff --git a/files/assets/js/comments_v.js b/files/assets/js/comments_v.js index 7c8a6993d..4845f5ea0 100644 --- a/files/assets/js/comments_v.js +++ b/files/assets/js/comments_v.js @@ -29,8 +29,8 @@ function post_toast3(url, button1, button2) { document.getElementById('toast-post-success-text').innerText = data["message"]; new bootstrap.Toast(document.getElementById('toast-post-success')).show(); - document.getElementById(button1).classList.toggle("d-none"); - document.getElementById(button2).classList.toggle("d-none"); + document.getElementById(button1).classList.toggle("d-md-inline-block"); + document.getElementById(button2).classList.toggle("d-md-inline-block"); } else { if (data && data["error"]) document.getElementById('toast-post-error-text').innerText = data["error"]; diff --git a/files/templates/comments.html b/files/templates/comments.html index 85ccea4ad..5b6ea4fa0 100644 --- a/files/templates/comments.html +++ b/files/templates/comments.html @@ -459,9 +459,9 @@ {% elif v.id == c.post.author_id %} - + - + {% endif %} {% endif %} @@ -607,8 +607,8 @@ {% if c.post and v.id == c.post.author_id and not v.admin_level %} - Pin - Unpin + Pin + Unpin {% endif %} {% endif %} @@ -847,7 +847,7 @@ {% if v %} - + {% endif %}