1
0
mirror of https://github.com/lancedikson/bowser synced 2024-10-27 20:34:22 +00:00

Merge branch 'master' of https://github.com/datuxer/bowser into datuxer-master

This commit is contained in:
Denis Demchenko 2016-08-30 00:09:39 +03:00
commit db712136e3

View File

@ -395,7 +395,7 @@
return result return result
} }
var bowser = detect(typeof navigator !== 'undefined' ? navigator.userAgent : '') var bowser = detect(typeof navigator !== 'undefined' ? navigator.userAgent || '' : '')
bowser.test = function (browserList) { bowser.test = function (browserList) {
for (var i = 0; i < browserList.length; ++i) { for (var i = 0; i < browserList.length; ++i) {