1
0
mirror of https://github.com/netbox-community/netbox.git synced 2024-05-10 07:54:54 +00:00

#6372: Fix static select class regression from 08f0a5d

This commit is contained in:
checktheroads
2021-07-17 21:51:47 -07:00
parent cdc9753009
commit e3008babfe
3 changed files with 3 additions and 3 deletions

View File

@ -2,7 +2,7 @@ import SlimSelect from 'slim-select';
import { getElements } from '../util';
export function initStaticSelect() {
for (const select of getElements<HTMLSelectElement>('.netbox-select-static')) {
for (const select of getElements<HTMLSelectElement>('.netbox-static-select')) {
if (select !== null) {
const label = document.querySelector(`label[for=${select.id}]`) as HTMLLabelElement;