Closed nvi9 closed 3 years ago
Prevent TypeError: Cannot use 'in' operator to search for 'ontouchstart' in null
thanks
Sorry, just found another similar here: supported-property.js#L17.
Would it be a good solution just changing if (isInBrowser) { to if (isInBrowser && document.documentElement) { on line 7?
if (isInBrowser) {
if (isInBrowser && document.documentElement) {
yeah
Prevent TypeError: Cannot use 'in' operator to search for 'ontouchstart' in null