diff --git a/dns/resource/resource.js b/dns/resource/resource.js index e86cb3f..1df91c9 100644 --- a/dns/resource/resource.js +++ b/dns/resource/resource.js @@ -61,6 +61,7 @@ import { settings, elements, apiGet, apiPost, apiPut, parseParams, setupHeader } // Static references to UI elements var ui = {}; ui.a = []; + ui.aaaa = []; ui.aHostname = {}; ui.aIP = {}; ui.caa = []; @@ -262,6 +263,7 @@ import { settings, elements, apiGet, apiPost, apiPut, parseParams, setupHeader } // Get element references ui.a = document.getElementsByClassName(elements.a); + ui.aaaa = ui.a; ui.aHostname = document.getElementById(elements.aHostname); ui.aIP = document.getElementById(elements.aIP); ui.caa = document.getElementsByClassName(elements.caa);