From 1f80d5c71c92981287a84394c7f0d7c73b9bf450 Mon Sep 17 00:00:00 2001 From: Chris Jaekl Date: Sat, 9 Jul 2022 22:06:03 -0400 Subject: [PATCH] Trim whitespace from term before searching --- js/src/SearchController.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/src/SearchController.js b/js/src/SearchController.js index 557fc1a..94c24d3 100644 --- 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 += '?'; -- 2.39.2