diff --git a/cms/static/cms/js/require-config.js b/cms/static/cms/js/require-config.js index 1cd6d04494..7deda745b9 100644 --- a/cms/static/cms/js/require-config.js +++ b/cms/static/cms/js/require-config.js @@ -56,7 +56,10 @@ // When upgrading to 2.6, check if this variable name changed. window.MathJax = { menuSettings: { - CHTMLpreview: false + CHTMLpreview: false, + collapsible: true, + autocollapse: false, + explorer: true } }; }; @@ -258,6 +261,7 @@ ] } }); + // In order to eliminate all flashing during interactive // preview, it is necessary to set processSectionDelay to 0 // (remove delay between input and output phases). This diff --git a/common/static/common/js/discussion/mathjax_include.js b/common/static/common/js/discussion/mathjax_include.js index a34223d378..ae65fbaf59 100644 --- a/common/static/common/js/discussion/mathjax_include.js +++ b/common/static/common/js/discussion/mathjax_include.js @@ -46,7 +46,7 @@ if (typeof MathJax === 'undefined') { window.MathJax = { menuSettings: { collapsible: true, - autocollapse: true, + autocollapse: false, explorer: true } }; diff --git a/common/templates/mathjax_include.html b/common/templates/mathjax_include.html index 6a56217019..d736d01b8e 100644 --- a/common/templates/mathjax_include.html +++ b/common/templates/mathjax_include.html @@ -80,7 +80,7 @@ window.MathJax = { menuSettings: { collapsible: true, - autocollapse: true, + autocollapse: false, explorer: true } };