From cdfb3fcfc12dd92e9dd31be4e668e951fe342d79 Mon Sep 17 00:00:00 2001 From: Aevann1 Date: Sat, 16 Oct 2021 11:45:13 +0200 Subject: [PATCH] dffd --- files/templates/comments.html | 2 +- files/templates/delete_post_modal.html | 2 +- files/templates/settings_profile.html | 2 +- files/templates/submission.html | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/files/templates/comments.html b/files/templates/comments.html index c4b175413..6355014cf 100755 --- a/files/templates/comments.html +++ b/files/templates/comments.html @@ -26,7 +26,7 @@ {% if v %} {% include "award_modal.html" %} - + {% endif %} diff --git a/files/templates/delete_post_modal.html b/files/templates/delete_post_modal.html index 13fdd0671..444725767 100755 --- a/files/templates/delete_post_modal.html +++ b/files/templates/delete_post_modal.html @@ -12,8 +12,8 @@ var form = new FormData() form.append("formkey", formkey()); xhr.withCredentials=true; + xhr.onload = function() {window.location.reload(true);}; xhr.send(form); - location.reload(); } document.getElementById("deletePostButton-mobile").onclick = delete_post; diff --git a/files/templates/settings_profile.html b/files/templates/settings_profile.html index 526295e2c..7d96b23ad 100755 --- a/files/templates/settings_profile.html +++ b/files/templates/settings_profile.html @@ -6,7 +6,7 @@ {% include "emoji_modal.html" %} {% include "gif_modal.html" %} - +
diff --git a/files/templates/submission.html b/files/templates/submission.html index ef1cc7b15..37d766ad8 100755 --- a/files/templates/submission.html +++ b/files/templates/submission.html @@ -53,7 +53,7 @@ {% if v %} - + {% include "award_modal.html" %} {% include "emoji_modal.html" %} {% include "gif_modal.html" %}