mirror of
https://github.com/byulmaru/quesdon
synced 2024-12-12 21:58:04 +09:00
質問したらリロードするように
This commit is contained in:
parent
2c6ef28357
commit
ee96a6de35
@ -35,7 +35,8 @@ page-user-top
|
|||||||
apiFetch("/api/web/accounts/"+this.opts.acct+"/question", {
|
apiFetch("/api/web/accounts/"+this.opts.acct+"/question", {
|
||||||
method: "POST",
|
method: "POST",
|
||||||
body: formData
|
body: formData
|
||||||
}).then(r => {
|
}).then(r => r.json()).then(r => {
|
||||||
alert("質問しました!")
|
alert("質問しました!")
|
||||||
|
location.reload()
|
||||||
})
|
})
|
||||||
}
|
}
|
Loading…
Reference in New Issue
Block a user