diff --git a/src/lib/features.js b/src/lib/features.js index 5993594d..e6d3898e 100644 --- a/src/lib/features.js +++ b/src/lib/features.js @@ -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'],