Wall: Reposting should work now on some instances

This commit is contained in:
veselcraft 2021-10-08 21:12:39 +03:00
parent 720dab186b
commit d52125ac7e

View file

@ -88,6 +88,7 @@ function repostPost(id, hash) {
MessageBox("Поделиться", uRepostMsgTxt, ["Отправить", "Отменить"], [
(function() {
text = document.querySelector("#uRepostMsgInput_"+id).value;
hash = encodeURIComponent(hash);
xhr = new XMLHttpRequest();
xhr.open("POST", "/wall"+id+"/repost?hash="+hash, true);
xhr.setRequestHeader('Content-type', 'application/x-www-form-urlencoded');