temp fix for broken dropdowns

This commit is contained in:
cmdr2 2023-02-16 19:46:06 +05:30
parent 0a099434a3
commit d643ae0299

View File

@ -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`)