projects
/
quanweb.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
78b4a26
)
Trim whitespace from term before searching
author
Chris Jaekl
<chris@localhost>
Sun, 10 Jul 2022 02:06:03 +0000
(22:06 -0400)
committer
Chris Jaekl
<chris@localhost>
Sun, 10 Jul 2022 02:06:03 +0000
(22:06 -0400)
js/src/SearchController.js
patch
|
blob
|
history
diff --git
a/js/src/SearchController.js
b/js/src/SearchController.js
index 557fc1aa42c02c5ab1bd1116787481023b626a91..94c24d3bd703ae8be4e7175cea47242c84df4d69 100644
(file)
--- a/
js/src/SearchController.js
+++ b/
js/src/SearchController.js
@@
-72,7
+72,7
@@
var SearchController = (function () {
continue;
}
- var value = elem.value;
+ var value = elem.value
.trim()
;
if (value.length > 0) {
if (firstTime) {
url += '?';