1
0
mirror of https://github.com/byulmaru/quesdon synced 2024-12-12 21:58:04 +09:00

質問したらリロードするように

This commit is contained in:
rinsuki 2017-12-09 10:14:38 +09:00
parent 2c6ef28357
commit ee96a6de35

View File

@ -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()
}) })
} }