Skip to content

Commit

Permalink
Update src/lib/features.js
Browse files Browse the repository at this point in the history
Co-authored-by: Francesco Trotta <[email protected]>
  • Loading branch information
Clayblockunova and fasttime authored Oct 12, 2024
1 parent 68450a1 commit 3c93ab4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/lib/features.js
Original file line number Diff line number Diff line change
Expand Up @@ -369,8 +369,8 @@ var featureInfos =
check:
function ()
{
var available = typeof document.forms === 'object' &&
document.forms + '' === '[object HTMLCollection]';
var available =
typeof document === 'object' && document.forms + '' === '[object HTMLCollection]';
return available;
},
includes: ['ANY_DOCUMENT'],
Expand Down

0 comments on commit 3c93ab4

Please sign in to comment.