From 8df79c6454726fc1865167381c86ae830dba6aa0 Mon Sep 17 00:00:00 2001 From: Ibnu Maksum Date: Thu, 12 Oct 2023 15:09:48 +0700 Subject: [PATCH] can add quota based --- ui/ui/hotspot-add.tpl | 7 ------- 1 file changed, 7 deletions(-) diff --git a/ui/ui/hotspot-add.tpl b/ui/ui/hotspot-add.tpl index ff031758..20ffa50d 100644 --- a/ui/ui/hotspot-add.tpl +++ b/ui/ui/hotspot-add.tpl @@ -172,14 +172,7 @@ if (cek.checked) { $("#routerChoose").addClass('hidden'); document.getElementById("routers").required = false; - document.getElementById("Limited").disabled = true; - document.getElementById("Unlimited").checked = true; - document.getElementById("Limited").checked = false; - $('#Type').hide(); - $('#TimeLimit').hide(); - $('#DataLimit').hide(); } else { - document.getElementById("Limited").disabled = false; document.getElementById("routers").required = true; $("#routerChoose").removeClass('hidden'); }