diff --git a/netbox/project-static/dist/netbox.js.map b/netbox/project-static/dist/netbox.js.map index 3bee1b2ac..eb3623216 100644 Binary files a/netbox/project-static/dist/netbox.js.map and b/netbox/project-static/dist/netbox.js.map differ diff --git a/netbox/project-static/src/buttons/floatBulk.ts b/netbox/project-static/src/buttons/floatBulk.ts index 7209dd7ca..0735690cd 100644 --- a/netbox/project-static/src/buttons/floatBulk.ts +++ b/netbox/project-static/src/buttons/floatBulk.ts @@ -17,8 +17,7 @@ function toggleFloat(): void { const isFloating = buttonGroup.classList.contains('btn-float-group-left'); if (checkedCheckboxes !== null && !isFloating) { buttonGroup.classList.add('btn-float-group-left'); - } - else if (checkedCheckboxes === null && isFloating) { + } else if (checkedCheckboxes === null && isFloating) { buttonGroup.classList.remove('btn-float-group-left'); } } @@ -27,9 +26,7 @@ function toggleFloat(): void { * Initialize floating bulk buttons. */ export function initFloatBulk(): void { - for (const element of getElements( - 'input[type="checkbox"][name="pk"]', - )) { + for (const element of getElements('input[type="checkbox"][name="pk"]')) { element.addEventListener('change', () => { toggleFloat(); });