commit 00af8c161ef8cad47c919691e499e30779c176a9 parent 6a7fe671465881bca8fab20706ae607891fa52ce Author: Davide P. Cervone <dpvc@union.edu> Date: Mon, 14 Sep 2015 06:57:01 -0400 Use isEdge for MSEdge detection Diffstat:
| M | unpacked/extensions/MathML/mml3.js | | | 2 | +- |
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/unpacked/extensions/MathML/mml3.js b/unpacked/extensions/MathML/mml3.js @@ -80,7 +80,7 @@ MathJax.Hub.Register.StartupHook("MathML Jax Ready",function () { */ var BROWSER = MathJax.Hub.Browser; var exslt = ''; - if (!!navigator.userAgent.match(/ Edge\//) || BROWSER.isMSIE) { + if (BROWSER.isEdge || BROWSER.isMSIE) { exslt = 'urn:schemas-microsoft-com:xslt' } else { exslt = 'http://exslt.org/common';