INNER CODE UNIT · JavaScript
truncateDNSTables
cisagov/ScubaGoggles · scubagoggles/reporter/scripts/main.js:161
const truncateDNSTables = (maxRows) => {
try {
let dnsLogs = document.querySelectorAll('.dns-logs');
for (let i = 0; i < dnsLogs.length; i++) {
truncateDNSTable(i, maxRows);
}
}
catch (error) {
console.error(`Error in truncateDNSTables`, error);
}
}
/**
* Apply scope attributes to columns and rows
*/
const applyScopeAttributes = () => {
try {