summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--BKUOnline/src/main/webapp/js/deployJava.js4
1 files changed, 3 insertions, 1 deletions
diff --git a/BKUOnline/src/main/webapp/js/deployJava.js b/BKUOnline/src/main/webapp/js/deployJava.js
index f4027953..e25902c0 100644
--- a/BKUOnline/src/main/webapp/js/deployJava.js
+++ b/BKUOnline/src/main/webapp/js/deployJava.js
@@ -491,7 +491,9 @@ var deployJava = {
// [#425] Disable WebStart Launch Button for MacOS
if (navigator.appVersion.toLowerCase().indexOf("mac")!=-1 &&
- navigator.appVersion.toLowerCase().indexOf("os x 10_6")==-1) {
+ navigator.userAgent.toLowerCase().indexOf("os x 10_6")==-1 &&
+ navigator.userAgent.toLowerCase().indexOf("os x 10.6")==-1 )
+ {
document.write('<' + 'a disabled="disabled"' +
' onMouseOver="window.status=\'\'; ' +
'return true;"><' + 'img class="disabled"' +