support non firefox gecko browsers

This commit is contained in:
j 2010-12-28 21:02:48 +05:30
parent 0e3954581b
commit 5bd21769ed

View File

@ -44,6 +44,8 @@ $(function() {
userAgent = name;
return false;
}
if (!userAgent && navigator.userAgent.indexOf('Gecko') > -1)
userAgent = 'Firefox';
});
return userAgent;
}