mirror of
https://github.com/pi-hole/web.git
synced 2026-04-28 04:33:58 +01:00
Back to previously used JS validator fpr IPs (it supports Copy&Paste)
This commit is contained in:
@@ -2,16 +2,16 @@ $(function () {
|
||||
$("[data-mask]").inputmask();
|
||||
});
|
||||
|
||||
$(function(){
|
||||
$("#custom1val").ipAddress({s:4});
|
||||
$("#custom2val").ipAddress({s:4});
|
||||
$("#custom3val").ipAddress({v:6});
|
||||
$("#custom4val").ipAddress({v:6});
|
||||
// $(function(){
|
||||
// $("#custom1val").ipAddress({s:4});
|
||||
// $("#custom2val").ipAddress({s:4});
|
||||
// $("#custom3val").ipAddress({v:6});
|
||||
// $("#custom4val").ipAddress({v:6});
|
||||
|
||||
$("#DHCPfrom").ipAddress({s:4});
|
||||
$("#DHCPto").ipAddress({s:4});
|
||||
$("#DHCProuter").ipAddress({s:4});
|
||||
});
|
||||
// $("#DHCPfrom").ipAddress({s:4});
|
||||
// $("#DHCPto").ipAddress({s:4});
|
||||
// $("#DHCProuter").ipAddress({s:4});
|
||||
// });
|
||||
|
||||
$(".confirm-reboot").confirm({
|
||||
text: "Are you sure you want to send a reboot command to your Pi-Hole?",
|
||||
|
||||
Reference in New Issue
Block a user