From 7586a39b272be27863706ee4d64d2a768d9d4692 Mon Sep 17 00:00:00 2001 From: Valentin Zmiycharov Date: Mon, 6 Jan 2025 22:36:40 +0200 Subject: [PATCH] Implement query string param logic --- scripts/utils.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/scripts/utils.js b/scripts/utils.js index bf1051f..3b521bb 100644 --- a/scripts/utils.js +++ b/scripts/utils.js @@ -41,6 +41,9 @@ export function manageQueryString(search) { } else if (prep) { elements.time.minutes().textContent = formatTimeContent(getMinutesToSet()); } + + if (on === "true") { controlCenter(); } + if (mod === "false") { elements.modal.closeButton().click(); } } };