From 461104c87d757738129fe621858c1f436eda35d9 Mon Sep 17 00:00:00 2001 From: Damian-I Date: Thu, 13 Mar 2025 02:53:49 +0000 Subject: [PATCH] Added option to remove timer on game alerts --- index.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/index.html b/index.html index 1c77b10..3cadd0e 100644 --- a/index.html +++ b/index.html @@ -1008,7 +1008,7 @@ let unreadNotes = 0; // Show a notification instead of using alert() - function showNotification(message, type = 'info', title = '', duration = 5000) { + function showNotification(message, type = 'info', title = '', duration = 5000, position = 'corner') { const notificationContainer = document.getElementById('notification-container'); // Create notification element @@ -1711,7 +1711,7 @@ addNote("Mission Brief", gameScenario.scenario_brief, true); // Show notification - gameAlert(gameScenario.scenario_brief, 'info', 'Mission Brief', 8000); + gameAlert(gameScenario.scenario_brief, 'info', 'Mission Brief', 0); } // initializes the rooms