diff options
| author | syuilo <4439005+syuilo@users.noreply.github.com> | 2025-11-26 19:26:27 +0900 |
|---|---|---|
| committer | syuilo <4439005+syuilo@users.noreply.github.com> | 2025-11-26 19:26:27 +0900 |
| commit | de7cbb376e8907c93d2792c7fa5b9b032b734aa2 (patch) | |
| tree | be9978cf18dbc7b7ebd8de640d8cb4a6fdb088f1 /packages/frontend/src/theme.ts | |
| parent | clean up (diff) | |
| download | misskey-de7cbb376e8907c93d2792c7fa5b9b032b734aa2.tar.gz misskey-de7cbb376e8907c93d2792c7fa5b9b032b734aa2.tar.bz2 misskey-de7cbb376e8907c93d2792c7fa5b9b032b734aa2.zip | |
fix(frontend): 初回読み込み時にエラーになることがある問題を修正
Fix #16562
Diffstat (limited to 'packages/frontend/src/theme.ts')
| -rw-r--r-- | packages/frontend/src/theme.ts | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/packages/frontend/src/theme.ts b/packages/frontend/src/theme.ts index 2fca4e79ae..fc3f5f55f2 100644 --- a/packages/frontend/src/theme.ts +++ b/packages/frontend/src/theme.ts @@ -158,6 +158,8 @@ export function applyTheme(theme: Theme, persist = true) { // 様々な理由により startViewTransition は失敗することがある // ref. https://github.com/misskey-dev/misskey/issues/16562 + // FIXME: viewTransitonエラーはtry~catch貫通してそうな気配がする + console.error(err); window.document.documentElement.classList.remove('_themeChanging_'); |