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