Skip to content

Commit 65937e6

Browse files
committed
Merge pull request #1165 from dpvc/issue1137
Issue #1137
2 parents b9e3761 + 9263cc4 commit 65937e6

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

unpacked/extensions/CHTML-preview.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
* limitations under the License.
2727
*/
2828

29-
(function (HUB,HTML) {
29+
(function (HUB,HTML,BROWSER) {
3030

3131
var SETTINGS = HUB.config.menuSettings;
3232

@@ -42,7 +42,7 @@
4242
color: "inherit!important",
4343
updateTime: 30, updateDelay: 6,
4444
messageStyle: "none",
45-
disabled: false
45+
disabled: BROWSER.isMSIE && !BROWSER.versionAtLeast("8.0")
4646
}),
4747

4848
//
@@ -133,7 +133,7 @@
133133

134134
HUB.Startup.signal.Post("CHTML-preview Ready");
135135

136-
})(MathJax.Hub,MathJax.HTML);
136+
})(MathJax.Hub,MathJax.HTML,MathJax.Hub.Browser);
137137

138138
MathJax.Ajax.loadComplete("[MathJax]/extensions/CHTML-preview.js");
139139

0 commit comments

Comments
 (0)