diff --git a/netbox/project-static/dist/netbox.js b/netbox/project-static/dist/netbox.js index 8495c2e19..c7e77236c 100644 Binary files a/netbox/project-static/dist/netbox.js and b/netbox/project-static/dist/netbox.js differ diff --git a/netbox/project-static/dist/netbox.js.map b/netbox/project-static/dist/netbox.js.map index 658249345..adeb983d5 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/select/color.ts b/netbox/project-static/src/select/color.ts index 506b2a195..9a699c47b 100644 --- a/netbox/project-static/src/select/color.ts +++ b/netbox/project-static/src/select/color.ts @@ -61,14 +61,6 @@ export function initColorSelect(): void { // Set the container's style attributes. instance.slim.singleSelected.container.style.backgroundColor = bg; instance.slim.singleSelected.container.style.color = fg; - - // Find this element's label. - const label = document.querySelector(`label[for=${select.id}]`); - - if (label !== null) { - // Set the field's label color to match (Bootstrap sets the opacity to 0.65 as well). - label.style.color = fg; - } } else { // If the color cannot be set (i.e., the placeholder), remove any inline styles. instance.slim.singleSelected.container.removeAttribute('style');