Commit 9aecd10a by cahrens

Move comments within the script block.

parent 16ab4f43
...@@ -9,14 +9,14 @@ ...@@ -9,14 +9,14 @@
<%page args="disable_fast_preview=True"/> <%page args="disable_fast_preview=True"/>
%if disable_fast_preview: %if disable_fast_preview:
// Fast Preview was introduced in 2.5. However, it
// causes undesirable flashing/font size changes when
// MathJax is used for interactive preview (equation editor).
// Setting processSectionDelay to 0 (see below) fully eliminates
// fast preview, but to reduce confusion, we are also setting
// the option as displayed in the context menu to false.
// When upgrading to 2.6, check if this variable name changed.
<script type="text/javascript"> <script type="text/javascript">
// Fast Preview was introduced in 2.5. However, it
// causes undesirable flashing/font size changes when
// MathJax is used for interactive preview (equation editor).
// Setting processSectionDelay to 0 (see below) fully eliminates
// fast preview, but to reduce confusion, we are also setting
// the option as displayed in the context menu to false.
// When upgrading to 2.6, check if this variable name changed.
window.MathJax = { window.MathJax = {
menuSettings: {CHTMLpreview: false} menuSettings: {CHTMLpreview: false}
}; };
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment