diff --git a/src/store/app/tts.ts b/src/store/app/tts.ts index b3b381294..ecb20e490 100644 --- a/src/store/app/tts.ts +++ b/src/store/app/tts.ts @@ -54,7 +54,7 @@ const useTtsPinia = defineStore('ui/tts', () => { }) // タブ閉じたときには止める - window.addEventListener('unload', () => { + window.addEventListener('pagehide', () => { stop() }) diff --git a/src/views/Settings/ThemeTab.vue b/src/views/Settings/ThemeTab.vue index 32e2dd6fb..29b20a26d 100644 --- a/src/views/Settings/ThemeTab.vue +++ b/src/views/Settings/ThemeTab.vue @@ -61,7 +61,7 @@