Remove unused function

Signed-off-by: RD WebDesign <github@rdwebdesign.com.br>
This commit is contained in:
RD WebDesign
2024-02-04 01:38:37 -03:00
parent 5a34fce949
commit fa838e800f
-10
View File
@@ -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({