From bb2c35d727b5183898bd68cb14a8b5b191fc30f4 Mon Sep 17 00:00:00 2001 From: Pugma Date: Fri, 20 Dec 2024 10:34:46 +0900 Subject: [PATCH 1/2] replaced `unload` with `pagehide` --- src/store/app/tts.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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() }) From 8d7150e96f3981b7d9134e66991c035c2f57122c Mon Sep 17 00:00:00 2001 From: Pugma Date: Fri, 20 Dec 2024 10:42:48 +0900 Subject: [PATCH 2/2] run format --- src/views/Settings/ThemeTab.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 @@