diff options
| author | syuilo <4439005+syuilo@users.noreply.github.com> | 2025-03-20 16:10:38 +0900 |
|---|---|---|
| committer | syuilo <4439005+syuilo@users.noreply.github.com> | 2025-03-20 16:10:38 +0900 |
| commit | 71188b3463648e0f3476d89cba45cb52b750cdbc (patch) | |
| tree | cfcd46105f61078d04c73258d62425f1533c52af /packages/frontend/src/boot | |
| parent | fix lint (diff) | |
| download | misskey-71188b3463648e0f3476d89cba45cb52b750cdbc.tar.gz misskey-71188b3463648e0f3476d89cba45cb52b750cdbc.tar.bz2 misskey-71188b3463648e0f3476d89cba45cb52b750cdbc.zip | |
fix lint
Diffstat (limited to 'packages/frontend/src/boot')
| -rw-r--r-- | packages/frontend/src/boot/common.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/packages/frontend/src/boot/common.ts b/packages/frontend/src/boot/common.ts index 8096c46960..75b74b41f8 100644 --- a/packages/frontend/src/boot/common.ts +++ b/packages/frontend/src/boot/common.ts @@ -99,7 +99,7 @@ export async function common(createVue: () => App<Element>) { // URLに#pswpを含む場合は取り除く if (window.location.hash === '#pswp') { - history.replaceState(null, '', window.location.href.replace('#pswp', '')); + window.history.replaceState(null, '', window.location.href.replace('#pswp', '')); } // 一斉リロード @@ -143,7 +143,7 @@ export async function common(createVue: () => App<Element>) { } } - history.replaceState({ misskey: 'loginId' }, '', target); + window.history.replaceState({ misskey: 'loginId' }, '', target); } //#endregion |