Fixed navigator value issue

This commit is contained in:
z0ccc 2021-09-30 10:02:36 -04:00
parent 7ae1feb40a
commit 0561548ffa

View file

@ -173,7 +173,7 @@ const checkNavigatorValue = (key) => {
// eslint-disable-next-line no-unused-vars // eslint-disable-next-line no-unused-vars
const { value } = Object.getOwnPropertyDescriptor(Navigator.prototype, key); const { value } = Object.getOwnPropertyDescriptor(Navigator.prototype, key);
} catch (err) { } catch (err) {
return 'Failed Navigator.prototype'; return 'Failed Navigator value';
} }
return null; return null;
}; };