Skip to content

Commit 63d5502

Browse files
authored
Trim select text
A fix provided in Dogfalo#6142 to fix Dogfalo#3249
1 parent b79a7fe commit 63d5502

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

js/select.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -378,7 +378,7 @@
378378

379379
options.each((el) => {
380380
if ($(el).prop('selected')) {
381-
let text = $(el).text();
381+
let text = $(el).text().trim();
382382
values.push(text);
383383
}
384384
});

0 commit comments

Comments
 (0)