Browse Source

Editor: Forgot to simplify Help/About.

Mr.doob 12 years ago
parent
commit
b14acfc71a
1 changed files with 1 additions and 1 deletions
  1. 1 1
      editor/js/ui/Menubar.Help.js

+ 1 - 1
editor/js/ui/Menubar.Help.js

@@ -24,7 +24,7 @@ Menubar.Help = function ( signals ) {
 	container.add( options );
 
 	var option = new UI.Panel();
-	option.add( new UI.Text().setValue( 'About' ).setColor( '#666' ) );
+	option.setTextContent( 'About' ).setColor( '#666' );
 	option.onClick( function () { alert( 'About' ) } );
 	options.add( option );