Open hymair opened 4 years ago
Thanks for reporting @hymair.
I can't replicate it on my end. Can you share User Agent / more details where you discovered this?
Happens on latest Chrome. Here's some debugging:
So looks like it's trying to execute landscape('landscape')
as a function, but there's no such function. Let me know if you need any more specific info.
Would it be possible to validate if it is a function before?
typeof changeOrientationList[index] === 'function' && changeOrientationList[index](newOrientation);
This error is logged on resize.