8000 Code consistency · diegobdev/bootstrap-table@872c930 · GitHub
[go: up one dir, main page]

Skip to content

Commit 872c930

Browse files
committed
Code consistency
1 parent 35132a8 commit 872c930

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/bootstrap-table.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -673,7 +673,9 @@
673673
var text = $.trim($(event.currentTarget).val());
674674

675675
// trim search input
676-
if(this.options.trimOnSearch) $(event.currentTarget).val(text);
676+
if(this.options.trimOnSearch) {
677+
$(event.currentTarget).val(text);
678+
}
677679

678680
if (text === this.searchText) {
679681
return;

0 commit comments

Comments
 (0)
0