support non firefox gecko browsers

This commit is contained in:
j 2010-12-28 21:02:48 +05:30
parent 93dad34514
commit ee3384d7b5

View file

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