mirror of
https://github.com/pi-hole/web.git
synced 2024-12-06 19:36:21 +01:00
Remove unused function
Signed-off-by: RD WebDesign <github@rdwebdesign.com.br>
This commit is contained in:
@@ -107,16 +107,6 @@ function updateDNSserversTextfield(upstreams, customServers) {
|
||||
);
|
||||
}
|
||||
|
||||
function revServersField(data, fieldIndex) {
|
||||
// If an invalid index is received, return null
|
||||
if (fieldIndex < 0 || fieldIndex > 4) {
|
||||
return null;
|
||||
}
|
||||
|
||||
const arrRevServers = data.split(",");
|
||||
return arrRevServers.length > fieldIndex ? arrRevServers[fieldIndex] : "";
|
||||
}
|
||||
|
||||
function revServerDataTable() {
|
||||
var setByEnv = false;
|
||||
$.ajax({
|
||||
|
||||
Reference in New Issue
Block a user