mirror of
https://github.com/netbox-community/netbox.git
synced 2025-07-24 09:28:38 -06:00
#6372: Fix static select class regression from 08f0a5d
This commit is contained in:
parent
cdc9753009
commit
e3008babfe
BIN
netbox/project-static/dist/netbox.js
vendored
BIN
netbox/project-static/dist/netbox.js
vendored
Binary file not shown.
BIN
netbox/project-static/dist/netbox.js.map
vendored
BIN
netbox/project-static/dist/netbox.js.map
vendored
Binary file not shown.
@ -2,7 +2,7 @@ import SlimSelect from 'slim-select';
|
|||||||
import { getElements } from '../util';
|
import { getElements } from '../util';
|
||||||
|
|
||||||
export function initStaticSelect() {
|
export function initStaticSelect() {
|
||||||
for (const select of getElements<HTMLSelectElement>('.netbox-select-static')) {
|
for (const select of getElements<HTMLSelectElement>('.netbox-static-select')) {
|
||||||
if (select !== null) {
|
if (select !== null) {
|
||||||
const label = document.querySelector(`label[for=${select.id}]`) as HTMLLabelElement;
|
const label = document.querySelector(`label[for=${select.id}]`) as HTMLLabelElement;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user