mirror of
https://github.com/openvk/openvk
synced 2024-11-11 01:19:53 +03:00
Wall: Reposting should work now on some instances
This commit is contained in:
parent
720dab186b
commit
d52125ac7e
1 changed files with 1 additions and 0 deletions
|
@ -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');
|
||||
|
|
Loading…
Reference in a new issue