From de39ee26d3d38601a44583297f8c95ed34df865e Mon Sep 17 00:00:00 2001 From: "justdave%syndicomm.com" <> Date: Thu, 28 Jun 2001 23:27:37 +0000 Subject: Fix for but 76073: - and + didn't work in quicksearch in IE and Opera Patch by Andreas Franke r= justdave@syndicomm.com --- quicksearch.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'quicksearch.js') diff --git a/quicksearch.js b/quicksearch.js index 7fa9a02f5..7e4b85139 100644 --- a/quicksearch.js +++ b/quicksearch.js @@ -453,12 +453,12 @@ function make_query_URL(url, input, searchLong) { w = word[i]; negation = false; - if (w[0] == "-") { + if (w.charAt(0) == "-") { negation = true; w = w.substring(1); } - switch (w[0]) { + switch (w.charAt(0)) { case "+": alternative = w.substring(1).split(/[|,]/); for (j=0; j