File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change 135
135
el . find ( 'option' ) . each ( function ( i ) {
136
136
var $this = $ ( this ) ;
137
137
var parent = this . parentNode ;
138
- var title = this . innerHTML ;
139
- var description = this . title ;
138
+ var description = this . innerHTML ;
139
+ var title = this . title ;
140
140
var value = this . value ;
141
141
var inputID = 'ui-multiselect-' + ( this . id || id + '-option-' + i ) ;
142
142
var isDisabled = this . disabled ;
169
169
html += '<li class="' + liClasses + '">' ;
170
170
171
171
// create the label
172
- html += '<label for="' + inputID + '" title="' + description + '" class="' + labelClasses . join ( ' ' ) + '">' ;
172
+ html += '<label for="' + inputID + '" title="' + title + '" class="' + labelClasses . join ( ' ' ) + '">' ;
173
173
html += '<input id="' + inputID + '" name="multiselect_' + id + '" type="' + ( o . multiple ? "checkbox" : "radio" ) + '" value="' + value + '" title="' + title + '"' ;
174
174
175
175
// pre-selected?
185
185
}
186
186
187
187
// add the title and close everything off
188
- html += ' /><span>' + title + '</span></label></li>' ;
188
+ html += ' /><span>' + description + '</span></label></li>' ;
189
189
} ) ;
190
190
191
191
// insert into the DOM
You can’t perform that action at this time.
0 commit comments