From d643ae0299a97dbacf9d65332d514a180d9e7dfb Mon Sep 17 00:00:00 2001 From: cmdr2 Date: Thu, 16 Feb 2023 19:46:06 +0530 Subject: [PATCH] temp fix for broken dropdowns --- ui/media/js/searchable-models.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/ui/media/js/searchable-models.js b/ui/media/js/searchable-models.js index ee15efa8..1e02cb98 100644 --- a/ui/media/js/searchable-models.js +++ b/ui/media/js/searchable-models.js @@ -558,9 +558,9 @@ class ModelDropdown this.modelFilter.insertAdjacentHTML('afterend', this.parseModels(this.flatModelList)) this.modelFilter.classList.add('model-selector') this.modelFilterArrow = document.querySelector(`#${this.modelFilter.id}-model-filter-arrow`) - if (this.modelFilterArrow) { - this.modelFilterArrow.style.color = state ? 'dimgray' : '' - } + // if (this.modelFilterArrow) { + // this.modelFilterArrow.style.color = state ? 'dimgray' : '' + // } this.modelList = document.querySelector(`#${this.modelFilter.id}-model-list`) this.modelResult = document.querySelector(`#${this.modelFilter.id}-model-result`) this.modelNoResult = document.querySelector(`#${this.modelFilter.id}-model-no-result`)