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(); } } };