Kaynağa Gözat

Update ui.js (#24765)

puxiao 2 yıl önce
ebeveyn
işleme
991f380b52
1 değiştirilmiş dosya ile 1 ekleme ve 1 silme
  1. 1 1
      editor/js/libs/ui.js

+ 1 - 1
editor/js/libs/ui.js

@@ -1189,7 +1189,7 @@ class UIListbox extends UIDiv {
 
 			const item = this.items[ i ];
 
-			const listitem = new UIListbox.ListboxItem( this );
+			const listitem = new ListboxItem( this );
 			listitem.setId( item.id || `Listbox-${i}` );
 			listitem.setTextContent( item.name || item.type );
 			this.add( listitem );