mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2025-12-20 13:47:57 +01:00
Fix return signature of buffer.{followLink,focusElement}.
This commit is contained in:
@@ -1008,7 +1008,7 @@ function Buffer() //{{{
|
|||||||
if (elemTagName == "frame" || elemTagName == "iframe")
|
if (elemTagName == "frame" || elemTagName == "iframe")
|
||||||
{
|
{
|
||||||
elem.contentWindow.focus();
|
elem.contentWindow.focus();
|
||||||
return false;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
elem.focus();
|
elem.focus();
|
||||||
@@ -1109,7 +1109,7 @@ function Buffer() //{{{
|
|||||||
if (localName == "frame" || localName == "iframe") // broken?
|
if (localName == "frame" || localName == "iframe") // broken?
|
||||||
{
|
{
|
||||||
elem.contentWindow.focus();
|
elem.contentWindow.focus();
|
||||||
return false;
|
return;
|
||||||
}
|
}
|
||||||
else if (localName == "area") // for imagemap
|
else if (localName == "area") // for imagemap
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user