fixing the hasJava function
git-svn-id: https://beef.googlecode.com/svn/trunk@550 b87d56ec-f9c0-11de-8c8a-61c5e9addfc9
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user