mirror of
https://github.com/easydiffusion/easydiffusion.git
synced 2024-11-22 08:13:22 +01:00
temp fix for broken dropdowns
This commit is contained in:
parent
0a099434a3
commit
d643ae0299
@ -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`)
|
||||
|
Loading…
Reference in New Issue
Block a user