mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2026-10-21 09:15:41 +02:00
fix the meaning of the \l and \L search pattern modifiers which were inverted
This commit is contained in:
1 parent
f3926ba422
commit
e7d8cce787
1 file changed
+2
-2
+2
-2
@@ -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