|
|
@@ -40,7 +40,9 @@ function styleContainer(
|
|
|
* the selected option.
|
|
|
*/
|
|
|
export function initColorSelect(): void {
|
|
|
- for (const select of getElements<HTMLSelectElement>('select.netbox-color-select')) {
|
|
|
+ for (const select of getElements<HTMLSelectElement>(
|
|
|
+ 'select.netbox-color-select:not([data-ssid])',
|
|
|
+ )) {
|
|
|
for (const option of select.options) {
|
|
|
if (canChangeColor(option)) {
|
|
|
// Get the background color from the option's value.
|