Fix flush
This commit is contained in:
parent
2ae42b5824
commit
3e9a6d07d2
|
@ -4,9 +4,12 @@ html
|
||||||
head
|
head
|
||||||
meta(charset='utf-8')
|
meta(charset='utf-8')
|
||||||
meta(name='application-name' content='Misskey')
|
meta(name='application-name' content='Misskey')
|
||||||
title Flushing Misskey
|
title Misskey Repair Tool
|
||||||
style
|
style
|
||||||
include ../flush.css
|
include ../flush.css
|
||||||
|
|
||||||
|
body
|
||||||
|
#msg
|
||||||
script.
|
script.
|
||||||
const msg = document.getElementById('msg');
|
const msg = document.getElementById('msg');
|
||||||
const successText = `\nSuccess Flush! <a href="/">Back to Misskey</a>\n成功しました。<a href="/">Misskeyを開き直してください。</a>`;
|
const successText = `\nSuccess Flush! <a href="/">Back to Misskey</a>\n成功しました。<a href="/">Misskeyを開き直してください。</a>`;
|
||||||
|
@ -50,6 +53,3 @@ html
|
||||||
function message(text) {
|
function message(text) {
|
||||||
msg.insertAdjacentHTML('beforeend', `<p>[${(new Date()).toString()}] ${text.replace(/\n/g,'<br>')}</p>`)
|
msg.insertAdjacentHTML('beforeend', `<p>[${(new Date()).toString()}] ${text.replace(/\n/g,'<br>')}</p>`)
|
||||||
}
|
}
|
||||||
|
|
||||||
body
|
|
||||||
#msg
|
|
||||||
|
|
Loading…
Reference in New Issue