mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2025-12-20 07:28:00 +01:00
Fix HTMLDocument guard clause in buffer.shiftFrameFocus.
This commit is contained in:
@@ -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);
|
||||||
|
|||||||
Reference in New Issue
Block a user