pisi / Reel

The premier 360° solution for jQuery.
http://reel360.org
MIT License
690 stars 210 forks source link

Don't break JS if user agent is empty #302

Closed mmzoo closed 7 years ago

mmzoo commented 8 years ago

I might be wrong, but if I interpret the output of my local JS console correctly, the browser variable can be null (when the user agent string is not present) which leads to a

// browser = null
// browser[2]
TypeError: browser is null

Which causes all JS to halt.

Can anyone confirm that?

mmzoo commented 7 years ago

Closing due to inactivity.