From c95880d22f0212bc1ced06d3a548f38c8dd86489 Mon Sep 17 00:00:00 2001 From: hael Date: Thu, 7 Aug 2025 09:29:50 +0000 Subject: [PATCH] vpn --- common.js | 8 ++++---- manage.html | 4 +++- 2 files changed, 7 insertions(+), 5 deletions(-) diff --git a/common.js b/common.js index 733124f..b004872 100644 --- a/common.js +++ b/common.js @@ -124,8 +124,8 @@ function check_vpn() { $('#pro_on').show(); $('#vpn_off').hide(); $('#vpn_on').show(); - document.getElementById('vpnToggle').checked = true; - document.querySelector(".switch-label").textContent = "ON"; + //document.getElementById('vpnToggle').checked = true; + //document.querySelector(".switch-label").textContent = "ON"; } } else if (data=="2") { @@ -133,8 +133,8 @@ function check_vpn() { $('#pro_on').show(); $('#vpn_on').hide(); $('#vpn_off').show(); - document.getElementById('vpnToggle').checked = false; - document.querySelector(".switch-label").textContent = "OFF"; + //document.getElementById('vpnToggle').checked = false; + //document.querySelector(".switch-label").textContent = "OFF"; } else { // data == 0 $('#pro_on').hide(); diff --git a/manage.html b/manage.html index 34dbe9f..09945e7 100644 --- a/manage.html +++ b/manage.html @@ -42,7 +42,7 @@

Enjoy benefits and unlock more feature such as remote access, geo-redundant backups etc.

Read details

- Upgrade now + Upgrade now

@@ -345,6 +345,7 @@ // renderApps(true); +/* const vpnToggle = document.getElementById("vpnToggle"); const vpnLabel = document.querySelector(".switch-label"); @@ -359,6 +360,7 @@ // Alapállapot beállítása updateStatus(); +*/ });