From e4459dada4a611312d5d9060500a99fb6230eec0 Mon Sep 17 00:00:00 2001 From: ThatOneCalculator Date: Wed, 6 Jul 2022 21:34:57 -0700 Subject: [PATCH] Change script location --- packages/backend/src/server/web/views/flush.pug | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/packages/backend/src/server/web/views/flush.pug b/packages/backend/src/server/web/views/flush.pug index 4aa5700b44..ca1cc821a2 100644 --- a/packages/backend/src/server/web/views/flush.pug +++ b/packages/backend/src/server/web/views/flush.pug @@ -7,9 +7,6 @@ html title Flushing Misskey style include ../flush.css - - body - #msg script. const msg = document.getElementById('msg'); const successText = `\nSuccess Flush! Back to Misskey\n成功しました。Misskeyを開き直してください。`; @@ -52,4 +49,6 @@ html function message(text) { msg.insertAdjacentHTML('beforeend', `

[${(new Date()).toString()}] ${text.replace(/\n/g,'
')}

`) - } + + body + #msg