master
Aevann1 2021-10-16 11:55:39 +02:00
parent 623c691a99
commit 6f982483a8
6 changed files with 6 additions and 5 deletions

View File

@ -26,7 +26,7 @@
{% if v %} {% if v %}
{% include "award_modal.html" %} {% include "award_modal.html" %}
<script src="/assets/js/comments_v.js?v=55"></script> <script src="/assets/js/comments_v.js?v=56"></script>
{% endif %} {% endif %}
<script src="https://cdn.jsdelivr.net/npm/clipboard@2.0.8/dist/clipboard.min.js"></script> <script src="https://cdn.jsdelivr.net/npm/clipboard@2.0.8/dist/clipboard.min.js"></script>

View File

@ -12,6 +12,7 @@
var form = new FormData() var form = new FormData()
form.append("formkey", formkey()); form.append("formkey", formkey());
xhr.withCredentials=true; xhr.withCredentials=true;
xhr.onload = function() {location.reload(true);};
xhr.send(form); xhr.send(form);
} }

View File

@ -1,4 +1,4 @@
<script src="/assets/js/header.js?v=53"></script> <script src="/assets/js/header.js?v=54"></script>
<nav class="shadow shadow-md fixed-top"> <nav class="shadow shadow-md fixed-top">
{% if "rama" in request.host %} {% if "rama" in request.host %}

View File

@ -26,7 +26,7 @@
f.append("formkey", formkey()); f.append("formkey", formkey());
xhr.onload=function(){ xhr.onload=function(){
if (xhr.status<300) { if (xhr.status<300) {
window.location.reload(true); location.reload(true);
} }
else { else {
var myToast = new bootstrap.Toast(document.getElementById('toast-post-success')); var myToast = new bootstrap.Toast(document.getElementById('toast-post-success'));

View File

@ -6,7 +6,7 @@
{% include "emoji_modal.html" %} {% include "emoji_modal.html" %}
{% include "gif_modal.html" %} {% include "gif_modal.html" %}
<script src="/assets/js/settings_profile.js?v=55"></script> <script src="/assets/js/settings_profile.js?v=56"></script>
<div id="posts" class="row"> <div id="posts" class="row">

View File

@ -53,7 +53,7 @@
</script> </script>
{% if v %} {% if v %}
<script src="/assets/js/comments_v.js?v=55"></script> <script src="/assets/js/comments_v.js?v=56"></script>
{% include "award_modal.html" %} {% include "award_modal.html" %}
{% include "emoji_modal.html" %} {% include "emoji_modal.html" %}
{% include "gif_modal.html" %} {% include "gif_modal.html" %}