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:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user