diff --git a/scripts/pi-hole/js/settings-advanced.js b/scripts/pi-hole/js/settings-advanced.js index a2dd44f8..b110c972 100644 --- a/scripts/pi-hole/js/settings-advanced.js +++ b/scripts/pi-hole/js/settings-advanced.js @@ -40,34 +40,8 @@ function boxIcons(value) { ); } -function generateRow(topic, key, value) { - // If the value is an object, we need to recurse - if (!("description" in value)) { - Object.keys(value).forEach(function (subkey) { - var subvalue = value[subkey]; - generateRow(topic, key + "." + subkey, subvalue); - }); - return; - } - - // else: we have a setting we can display - var box = - '
" +
- utils.escapeHtml(value.description).replaceAll("\n", "
") +
- "