Change script location

This commit is contained in:
ThatOneCalculator 2022-07-06 21:34:57 -07:00
parent e92b279c15
commit e4459dada4
1 changed files with 3 additions and 4 deletions

View File

@ -7,9 +7,6 @@ html
title Flushing Misskey title Flushing Misskey
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>`;
@ -52,4 +49,6 @@ 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