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 135135 el . find ( 'option' ) . each ( function ( i ) {
136136 var $this = $ ( this ) ;
137137 var parent = this . parentNode ;
138- var title = this . innerHTML ;
139- var description = this . title ;
138+ var description = this . innerHTML ;
139+ var title = this . title ;
140140 var value = this . value ;
141141 var inputID = 'ui-multiselect-' + ( this . id || id + '-option-' + i ) ;
142142 var isDisabled = this . disabled ;
169169 html += '<li class="' + liClasses + '">' ;
170170
171171 // create the label
172- html += '<label for="' + inputID + '" title="' + description + '" class="' + labelClasses . join ( ' ' ) + '">' ;
172+ html += '<label for="' + inputID + '" title="' + title + '" class="' + labelClasses . join ( ' ' ) + '">' ;
173173 html += '<input id="' + inputID + '" name="multiselect_' + id + '" type="' + ( o . multiple ? "checkbox" : "radio" ) + '" value="' + value + '" title="' + title + '"' ;
174174
175175 // pre-selected?
185185 }
186186
187187 // add the title and close everything off
188- html += ' /><span>' + title + '</span></label></li>' ;
188+ html += ' /><span>' + description + '</span></label></li>' ;
189189 } ) ;
190190
191191 // insert into the DOM
You can’t perform that action at this time.
0 commit comments