fixing the hasJava function

git-svn-id: https://beef.googlecode.com/svn/trunk@550 b87d56ec-f9c0-11de-8c8a-61c5e9addfc9
This commit is contained in:
mosse.benjamin
2010-11-19 04:34:39 +00:00
parent f59a31692b
commit 7ba9f6a806

View File

@@ -242,7 +242,7 @@ beef.browser = {
* @example: if(beef.browser.hasJava()) { ... }
*/
hasJava: function() {
if(window.navigator.javaEnabled && window.navigator.javaEnabled()) {
if(!this.type().IE && window.navigator.javaEnabled && window.navigator.javaEnabled()) {
return true;
}
return false;