forked from rDrama/rDrama
fix /is_repost
parent
07b534dee2
commit
e315ca0f65
|
@ -126,6 +126,7 @@ function checkRepost() {
|
||||||
xhr.setRequestHeader('xhr', 'xhr');
|
xhr.setRequestHeader('xhr', 'xhr');
|
||||||
const form = new FormData()
|
const form = new FormData()
|
||||||
form.append("url", url);
|
form.append("url", url);
|
||||||
|
form.append("formkey", formkey());
|
||||||
|
|
||||||
xhr.onload=function(){
|
xhr.onload=function(){
|
||||||
try {data = JSON.parse(xhr.response)}
|
try {data = JSON.parse(xhr.response)}
|
||||||
|
|
Loading…
Reference in New Issue