зеркало из https://github.com/mozilla/pjs.git
Fix for but 76073: - and + didn't work in quicksearch in IE and Opera
Patch by Andreas Franke <afranke@ags.uni-sb.de> r= justdave@syndicomm.com
This commit is contained in:
Родитель
e95335dcaf
Коммит
f321dcd882
|
@ -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<alternative.length; j++)
|
||||
|
|
Загрузка…
Ссылка в новой задаче