Browse Source

Update ui.js (#24765)

puxiao 2 years ago
parent
commit
991f380b52
1 changed files with 1 additions and 1 deletions
  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 );