Skip to content

Commit

Permalink
#6372: Fix static select class regression from 08f0a5d
Browse files Browse the repository at this point in the history
  • Loading branch information
thatmattlove committed Jul 19, 2021
1 parent cdc9753 commit e3008ba
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion netbox/project-static/dist/netbox.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion netbox/project-static/dist/netbox.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion netbox/project-static/src/select/static.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down

0 comments on commit e3008ba

Please sign in to comment.