fix: change showNotification duration
This commit is contained in:
@@ -913,7 +913,7 @@ class YouTubeCaptionProvider {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
#showNotification(message, duration = 3000) {
|
#showNotification(message, duration = 2000) {
|
||||||
if (!this.#notificationEl) this.#createNotificationElement();
|
if (!this.#notificationEl) this.#createNotificationElement();
|
||||||
this.#notificationEl.textContent = message;
|
this.#notificationEl.textContent = message;
|
||||||
this.#notificationEl.style.opacity = "1";
|
this.#notificationEl.style.opacity = "1";
|
||||||
|
|||||||
Reference in New Issue
Block a user