--- loncom/html/adm/jsMath/jsMath-BaKoMa-fonts.js 2006/03/27 19:32:07 1.1
+++ loncom/html/adm/jsMath/jsMath-BaKoMa-fonts.js 2007/10/09 21:29:16 1.3
@@ -8,7 +8,7 @@
*
* ---------------------------------------------------------------------
*
- * Copyright 2004-2006 by Davide P. Cervone
+ * Copyright 2004-2007 by Davide P. Cervone
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -31,9 +31,7 @@
* to correspond to the their encoding.
*/
-jsMath.Script.Start();
-
-if (jsMath.browser == "Mozilla" && navigator.platform != "MacPPC") {
+if (jsMath.browser == "Mozilla" && jsMath.platform != "mac") {
/*
* Mozilla/PC
@@ -256,7 +254,7 @@ if (jsMath.browser == "Mozilla" && navig
switch (jsMath.browser) {
case "MSIE":
- if (navigator.platform == "Win32") {
+ if (jsMath.platform == "pc") {
/*
* MSIE/PC
*/
@@ -361,7 +359,7 @@ if (jsMath.browser == "Mozilla" && navig
break;
case "Mozilla":
- if (navigator.platform == "MacPPC") {
+ if (jsMath.platform == "mac") {
/*
* Mozilla/Mac
*/
@@ -428,5 +426,3 @@ jsMath.Setup.Styles({
'.typeset .cmex10': 'font-family: cmex10',
'.typeset .arial': "font-family: 'Arial unicode MS'"
});
-
-jsMath.Script.End();