|
@@ -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;
|
|
|
|
|
|