Skip to content

Commit

Permalink
Merge pull request #100 from richarddewit/patch-1
Browse files Browse the repository at this point in the history
Trim select text
  • Loading branch information
Smankusors authored Mar 31, 2021
2 parents b79a7fe + 63d5502 commit 802bc19
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion js/select.js
Original file line number Diff line number Diff line change
Expand Up @@ -378,7 +378,7 @@

options.each((el) => {
if ($(el).prop('selected')) {
let text = $(el).text();
let text = $(el).text().trim();
values.push(text);
}
});
Expand Down

0 comments on commit 802bc19

Please sign in to comment.