mirror of
https://github.com/openvk/openvk
synced 2025-07-07 08:19:49 +03:00
Пофиксил форматирование (возможно)
This commit is contained in:
parent
07a3f92308
commit
3f50f97f0d
1 changed files with 20 additions and 18 deletions
|
@ -1,3 +1,4 @@
|
|||
|
||||
function expand_wall_textarea(id) {
|
||||
var el = document.getElementById('post-buttons'+id);
|
||||
var wi = document.getElementById('wall-post-input'+id);
|
||||
|
@ -203,6 +204,7 @@ async function repostPost(id, hash) {
|
|||
asGroup = asgroup.checked == true ? 1 : 0;
|
||||
signed = signed.checked == true ? 1 : 0;
|
||||
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