1
0
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:
Doug Kearns
2008-12-23 01:31:55 +11:00
parent 483b3f4b00
commit 68a28b7e14

View File

@@ -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
{ {