1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2025-12-20 15:57:57 +01:00

Fix HTMLDocument guard clause in buffer.shiftFrameFocus.

This commit is contained in:
Doug Kearns
2009-01-01 21:37:27 +11:00
parent c57a97741d
commit 0be4723b91

View File

@@ -1294,7 +1294,7 @@ function Buffer() //{{{
*/ */
shiftFrameFocus: function (count, forward) shiftFrameFocus: function (count, forward)
{ {
if (!window.content.document instanceof HTMLDocument) if (!(window.content.document instanceof HTMLDocument))
return; return;
count = Math.max(count, 1); count = Math.max(count, 1);