소스 검색

Clean up.

Mr.doob 12 년 전
부모
커밋
7bf9f3bcff
1개의 변경된 파일3개의 추가작업 그리고 2개의 파일을 삭제
  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 ) {
-  var selected = this.dom.value;
+
+	var selected = this.dom.value;
 
 	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;