From b38f0796115df7622385dc509f6c346fbaf8a304 Mon Sep 17 00:00:00 2001 From: Gabe Date: Sun, 26 Oct 2025 19:59:51 +0800 Subject: [PATCH] fix: change showNotification duration --- src/subtitle/YouTubeCaptionProvider.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/subtitle/YouTubeCaptionProvider.js b/src/subtitle/YouTubeCaptionProvider.js index 030203d..fdd6e6c 100644 --- a/src/subtitle/YouTubeCaptionProvider.js +++ b/src/subtitle/YouTubeCaptionProvider.js @@ -913,7 +913,7 @@ class YouTubeCaptionProvider { } } - #showNotification(message, duration = 3000) { + #showNotification(message, duration = 2000) { if (!this.#notificationEl) this.#createNotificationElement(); this.#notificationEl.textContent = message; this.#notificationEl.style.opacity = "1";