Пофиксил форматирование (возможно)

This commit is contained in:
lalka2016 2023-05-21 16:30:24 +03:00
parent 07a3f92308
commit 3f50f97f0d

View file

@ -1,3 +1,4 @@

function expand_wall_textarea(id) { function expand_wall_textarea(id) {
var el = document.getElementById('post-buttons'+id); var el = document.getElementById('post-buttons'+id);
var wi = document.getElementById('wall-post-input'+id); var wi = document.getElementById('wall-post-input'+id);
@ -203,6 +204,7 @@ async function repostPost(id, hash) {
asGroup = asgroup.checked == true ? 1 : 0; asGroup = asgroup.checked == true ? 1 : 0;
signed = signed.checked == true ? 1 : 0; signed = signed.checked == true ? 1 : 0;
hash = encodeURIComponent(hash); hash = encodeURIComponent(hash);
xhr = new XMLHttpRequest(); xhr = new XMLHttpRequest();
xhr.open("POST", "/wall"+id+"/repost?hash="+hash, true); xhr.open("POST", "/wall"+id+"/repost?hash="+hash, true);
xhr.setRequestHeader('Content-type', 'application/x-www-form-urlencoded'); xhr.setRequestHeader('Content-type', 'application/x-www-form-urlencoded');