From 3c93ab4801fa4c9af45dfed54ed891986ebb5ce5 Mon Sep 17 00:00:00 2001 From: Clayblockunova <41379534+Clayblockunova@users.noreply.github.com> Date: Sat, 12 Oct 2024 10:57:59 +0800 Subject: [PATCH] Update src/lib/features.js Co-authored-by: Francesco Trotta --- src/lib/features.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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'],