Skip to content

Commit 84e5b15

Browse files
committed
Renaming variable
Wanted to add a more descriptive name.
1 parent 4be07dd commit 84e5b15

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/jquery.multiselect.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,7 @@
149149
el.find('option').each(function(i) {
150150
var $this = $(this);
151151
var parent = this.parentNode;
152-
var description = this.innerHTML;
152+
var contents = this.innerHTML;
153153
var title = this.title;
154154
var value = this.value;
155155
var inputID = 'ui-multiselect-' + multiselectID + '-' + (this.id || id + '-option-' + i);
@@ -204,8 +204,8 @@
204204
html += ' aria-disabled="true"';
205205
}
206206

207-
// add the title and close everything off
208-
html += ' /><span>' + description + '</span></label></li>';
207+
// add the contents and close everything off
208+
html += ' /><span>' + contents + '</span></label></li>';
209209
});
210210

211211
// insert into the DOM

0 commit comments

Comments
 (0)