Skip to content

Commit

Permalink
Fix selection of label in selectize#755
Browse files Browse the repository at this point in the history
  • Loading branch information
joallard authored and ss-agent-marine-scotland committed Oct 4, 2016
1 parent c5a72f5 commit ba9deee
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/selectize.js
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ $.extend(Selectize.prototype, {

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

if(self.settings.copyClassesToDropdown) {
Expand Down

0 comments on commit ba9deee

Please sign in to comment.