support non firefox gecko browsers

This commit is contained in:
j 2010-12-28 20:56:59 +05:30
parent d756ca4ee3
commit 0e3954581b

View File

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