From ca0c3606e5d48cc0b6de0bc840b74f712c4fc6e6 Mon Sep 17 00:00:00 2001 From: fyr77 Date: Fri, 5 Mar 2021 08:12:20 +0100 Subject: [PATCH] bugfixes --- js/finalize.js | 2 +- js/tool.js | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/js/finalize.js b/js/finalize.js index e90818d..8b87b1a 100644 --- a/js/finalize.js +++ b/js/finalize.js @@ -211,7 +211,7 @@ function saveDynamicDataToFile() { } else { encValue = "TLS"; } - var exclWifi = getCookie(i + "") + var exclWifi = getCookie(i + "exclWifi") fileString += "\n"; fileString += "DNSSettings\n"; diff --git a/js/tool.js b/js/tool.js index 56ec692..2a4e58e 100644 --- a/js/tool.js +++ b/js/tool.js @@ -35,10 +35,10 @@ function addToList() { document.cookie = runningNo + "useCell=" + document.getElementById("useCell").checked + ";" + expires + ";path=/; SameSite=Strict; Secure"; document.cookie = runningNo + "lockProfile=" + document.getElementById("lockProfile").checked + ";" + expires + ";path=/; SameSite=Strict; Secure"; - runningNo++; + runningNo = runningNo + 1; document.cookie = "runningNo=" + runningNo + ";" + expires + ";path=/; SameSite=Strict; Secure"; - window.location.href = "/finalize.html" + window.location.href = "/finalize.html"; } function switchToHTTPS() {