1
0
Fork 0
forked from 0x2620/oxjs

support non firefox gecko browsers

This commit is contained in:
j 2010-12-28 20:56:59 +05:30
commit 93dad34514

View file

@ -144,6 +144,8 @@ requires
return false;
}
});
if (!userAgent && navigator.userAgent.indexOf('Gecko') > -1)
userAgent = 'Firefox';
return userAgent;
}