Skip to content

Commit

Permalink
[snapappointments#2826]add comment
Browse files Browse the repository at this point in the history
  • Loading branch information
megumiimai committed Dec 12, 2023
1 parent 98f76ea commit 65e4391
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions js/bootstrap-select.js
Original file line number Diff line number Diff line change
Expand Up @@ -2953,6 +2953,7 @@
var searchValue = that.$searchbox[0].value;
var isWhitespace = /^\s*$/.test(searchValue);
if (!isWhitespace) {
// trim leading and trailing half-width spaces and full-width spaces.
searchValue = searchValue.replace(/^\s+|\s+$/g, '');
}

Expand Down

0 comments on commit 65e4391

Please sign in to comment.