1
0
mirror of https://github.com/misskey-dev/misskey.git synced 2026-05-15 01:05:42 +02:00

fix(frontend): 初回読み込み時にエラーになることがある問題を修正

Fix #16562
This commit is contained in:
syuilo
2025-11-26 19:26:27 +09:00
parent 6cb6f794e5
commit de7cbb376e
3 changed files with 10 additions and 6 deletions

View File

@@ -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_');