commit 67e7351e1d83ce12159648c89cf6e55a063b287d
parent 15c9159cb23f3bed33eaf430e85dd32962987ff1
Author: Davide P. Cervone <dpvc@union.edu>
Date: Thu, 9 Jul 2015 11:25:08 -0400
Merge branch 'issue1208' into develop. Issue #1208.
Diffstat:
1 file changed, 2 insertions(+), 5 deletions(-)
diff --git a/unpacked/extensions/CHTML-preview.js b/unpacked/extensions/CHTML-preview.js
@@ -31,7 +31,7 @@
var SETTINGS = HUB.config.menuSettings;
var CHTMLpreview = MathJax.Extension["CHTML-preview"] = {
- version: "2.5.2",
+ version: "2.5.3",
//
// Configuration for the chunking of the main output
@@ -49,16 +49,13 @@
// Ajust the chunking of the output jax
//
Config: function () {
- HUB.Config({
- "HTML-CSS": this.config.Chunks,
- SVG: this.config.Chunks
- });
MathJax.Ajax.Styles({".MathJax_Preview .MJXc-math":{color:this.config.color}});
var update, delay, style, done, saved;
var config = this.config;
if (!config.disabled && SETTINGS.CHTMLpreview == null)
HUB.Config({menuSettings:{CHTMLpreview:true}});
+ if (SETTINGS.CHTMLpreview) HUB.Config({"HTML-CSS":config.Chunks, SVG:config.Chunks});
HUB.Register.MessageHook("Begin Math Output",function () {
if (!done && SETTINGS.CHTMLpreview && SETTINGS.renderer !== "CommonHTML") {
update = HUB.processUpdateTime; delay = HUB.processUpdateDelay;