www

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README | LICENSE

commit 95c00da5ea1cd0372632238a775668c005e0d2fc
parent b9e3761714f04ba605f4644244ea58f990e7b640
Author: Peter Krautzberger <p.krautzberger@gmail.com>
Date:   Fri, 27 Mar 2015 11:09:44 +0100

for #1137: disable CHTMLpreview.js on IE<8

Diffstat:
Munpacked/extensions/CHTML-preview.js | 6+++---
1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/unpacked/extensions/CHTML-preview.js b/unpacked/extensions/CHTML-preview.js @@ -26,7 +26,7 @@ * limitations under the License. */ -(function (HUB,HTML) { +(function (HUB,HTML,BROWSER) { var SETTINGS = HUB.config.menuSettings; @@ -42,7 +42,7 @@ color: "inherit!important", updateTime: 30, updateDelay: 6, messageStyle: "none", - disabled: false + disabled: ((BROWSER.isMSIE && BROWSER.version < 8) ? true : false) }), // @@ -133,7 +133,7 @@ HUB.Startup.signal.Post("CHTML-preview Ready"); -})(MathJax.Hub,MathJax.HTML); +})(MathJax.Hub,MathJax.HTML,MathJax.Hub.Browser); MathJax.Ajax.loadComplete("[MathJax]/extensions/CHTML-preview.js");