mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2025-12-23 07:58:00 +01:00
made followDocRelship work better
This commit is contained in:
@@ -992,14 +992,18 @@ vimperator.Buffer = function () //{{{
|
|||||||
followDocumentRelationship: function (relationship)
|
followDocumentRelationship: function (relationship)
|
||||||
{
|
{
|
||||||
var retVal;
|
var retVal;
|
||||||
|
|
||||||
if (window.content.frames.length != 0)
|
if (window.content.frames.length != 0)
|
||||||
{
|
{
|
||||||
for (var i = 0; i < window.content.frames.length; i++)
|
retVal = followFrameRelationship(relationship, window.content);
|
||||||
|
if (!retVal)
|
||||||
{
|
{
|
||||||
retVal = followFrameRelationship(relationship, window.content.frames[i]);
|
// only loop through frames if the main content didnt match
|
||||||
if (retVal)
|
for (var i = 0; i < window.content.frames.length; i++)
|
||||||
break;
|
{
|
||||||
|
retVal = followFrameRelationship(relationship, window.content.frames[i]);
|
||||||
|
if (retVal)
|
||||||
|
break;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
|||||||
@@ -59,6 +59,8 @@ Option Description
|
|||||||
-R 'GROUP' Disables access to 'GROUP'.
|
-R 'GROUP' Disables access to 'GROUP'.
|
||||||
---------------------------------------------
|
---------------------------------------------
|
||||||
|
|
||||||
|
atag:anchor[]
|
||||||
|
|
||||||
[[X1]]
|
[[X1]]
|
||||||
Sub-section with Anchor
|
Sub-section with Anchor
|
||||||
~~~~~~~~~~~~~~~~~~~~~~~
|
~~~~~~~~~~~~~~~~~~~~~~~
|
||||||
|
|||||||
Reference in New Issue
Block a user