Browse Source

Clean up.

Mr.doob 12 years ago
parent
commit
7bf9f3bcff
1 changed files with 3 additions and 2 deletions
  1. 3 2
      editor/js/libs/ui.js

+ 3 - 2
editor/js/libs/ui.js

@@ -267,7 +267,8 @@ UI.Select.prototype.setMultiple = function ( boolean ) {
 };
 };
 
 
 UI.Select.prototype.setOptions = function ( options ) {
 UI.Select.prototype.setOptions = function ( options ) {
-  var selected = this.dom.value;
+
+	var selected = this.dom.value;
 
 
 	while ( this.dom.children.length > 0 ) {
 	while ( this.dom.children.length > 0 ) {
 
 
@@ -284,7 +285,7 @@ UI.Select.prototype.setOptions = function ( options ) {
 
 
 	}
 	}
 
 
-  this.dom.value = selected;
+	this.dom.value = selected;
 
 
 	return this;
 	return this;