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;