projects
/
quanweb.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Trim whitespace from term before searching
[quanweb.git]
/
js
/
src
/
SearchController.js
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 += '?';