support non firefox gecko browsers

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

View file

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