for #1137: disable CHTMLpreview.js on IE<8
This commit is contained in:
parent
b9e3761714
commit
95c00da5ea
|
@ -26,7 +26,7 @@
|
||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
(function (HUB,HTML) {
|
(function (HUB,HTML,BROWSER) {
|
||||||
|
|
||||||
var SETTINGS = HUB.config.menuSettings;
|
var SETTINGS = HUB.config.menuSettings;
|
||||||
|
|
||||||
|
@ -42,7 +42,7 @@
|
||||||
color: "inherit!important",
|
color: "inherit!important",
|
||||||
updateTime: 30, updateDelay: 6,
|
updateTime: 30, updateDelay: 6,
|
||||||
messageStyle: "none",
|
messageStyle: "none",
|
||||||
disabled: false
|
disabled: ((BROWSER.isMSIE && BROWSER.version < 8) ? true : false)
|
||||||
}),
|
}),
|
||||||
|
|
||||||
//
|
//
|
||||||
|
@ -133,7 +133,7 @@
|
||||||
|
|
||||||
HUB.Startup.signal.Post("CHTML-preview Ready");
|
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");
|
MathJax.Ajax.loadComplete("[MathJax]/extensions/CHTML-preview.js");
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user