Skip to content

Commit 7b8e80f

Browse files
committed
Fix selection of label in #755
Thanks @fkaempfer (#1119)
1 parent e4cf453 commit 7b8e80f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/selectize.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@ $.extend(Selectize.prototype, {
129129

130130
if(inputId = $input.attr('id')) {
131131
$control_input.attr('id', inputId + '-selectized');
132-
$('label[for='+inputId+']').attr('for', inputId + '-selectized');
132+
$("label[for='"+inputId+"']").attr('for', inputId + '-selectized');
133133
}
134134

135135
if(self.settings.copyClassesToDropdown) {

0 commit comments

Comments
 (0)