master
Aevann1 2022-04-25 23:41:46 +02:00
parent f306d76373
commit 139a01998b
4 changed files with 5 additions and 21 deletions

View File

@ -848,7 +848,7 @@
{% if v %}
<script src="/assets/js/marked.js?v=250"></script>
<script src="/assets/js/comments_v.js?v=265"></script>
<script src="/assets/js/comments_v.js?v=266"></script>
{% endif %}
<script src="/assets/js/clipboard.js?v=250"></script>
@ -859,7 +859,7 @@
{% include "expanded_image_modal.html" %}
<script src="/assets/js/comments+submission_listing.js?v=256"></script>
<script src="/assets/js/comments+submission_listing.js?v=257"></script>
<script src="/assets/js/comments.js?v=256"></script>
<script>

View File

@ -237,18 +237,6 @@
</nav>
{% endif %}
<script>
function post(url) {
const xhr = new XMLHttpRequest();
xhr.open("POST", url);
xhr.setRequestHeader('xhr', 'xhr');
var form = new FormData()
form.append("formkey", formkey());
xhr.onload = function() {location.reload()}
xhr.send(form);
};
</script>
{% if PUSHER_ID != 'blahblahblah' and v %}
<div class="d-none" id="strid">{{request.host}}{{v.id}}</div>
<div class="d-none" id="pusherid">{{PUSHER_ID}}</div>

View File

@ -1059,10 +1059,6 @@
<script src="/assets/js/togglePostEdit.js?v=240"></script>
{% endif %}
{% if v %}
<script src="/assets/js/submission.js?v=240"></script>
{% endif %}
{% if not v or v.highlightcomments %}
<script src="/assets/js/new_comments_count.js?v=242"></script>
{% endif %}

View File

@ -212,7 +212,7 @@
<div class="post-actions mt-2 d-none d-md-block">
<ul class="list-inline text-right d-flex">
{% if p.body %}
{% if p.realbody(v) %}
<a class="list-inline-item" role="button" onclick="expandText('{{p.id}}')"><i class="fas fa-expand-alt mr-0 text-expand-icon-{{p.id}}"></i></a>
{% endif %}
<li class="list-inline-item">
@ -244,7 +244,7 @@
</li>
{% if p.body and request.path != "/changelog"%}
{% if p.realbody(v) and request.path != "/changelog"%}
<a class="list-inline-item" role="button" onclick="expandText('{{p.id}}')"><i class="fas fa-expand-alt mr-0 text-expand-icon-{{p.id}}"></i></a>
{% endif %}
@ -443,5 +443,5 @@
{% include "expanded_image_modal.html" %}
<script src="/assets/js/clipboard.js?v=240"></script>
<script src="/assets/js/comments+submission_listing.js?v=256"></script>
<script src="/assets/js/comments+submission_listing.js?v=257"></script>
<script src="/assets/js/submission_listing.js?v=240"></script>