Skip to content

Commit

Permalink
Fix select label positioning #156
Browse files Browse the repository at this point in the history
  • Loading branch information
francescozaia committed Jul 3, 2018
1 parent 0cb6d5c commit a84fe76
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/js/plugins/custom-select.js
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ const Select = (($) => {
} else {
that._customElement.find('li').removeClass('active');
$this.toggleClass('active');
$newSelect.val($this.text());
$newSelect.val($this.text().trim());
}

that._activateOption(that._customElement, $this);
Expand Down

0 comments on commit a84fe76

Please sign in to comment.