1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2026-03-25 07:23:31 +01:00

fix the meaning of the \l and \L search pattern modifiers which were inverted

This commit is contained in:
Doug Kearns
2008-05-26 07:29:42 +00:00
parent f3926ba422
commit e7d8cce787

View File

@@ -77,9 +77,9 @@ liberator.Search = function () //{{{
// links only search - \l wins if both modifiers specified // links only search - \l wins if both modifiers specified
if (/\\l/.test(pattern)) if (/\\l/.test(pattern))
linksOnly = false;
else if (/\L/.test(pattern))
linksOnly = true; linksOnly = true;
else if (/\L/.test(pattern))
linksOnly = false;
else if (liberator.options["linksearch"]) else if (liberator.options["linksearch"])
linksOnly = true; linksOnly = true;
else else