Disable Fast Preview for version 2.5.
Except for the Discussion Tab. TNL-3693, TNL-3365
This commit is contained in:
@@ -1 +1,3 @@
|
||||
<%include file="/mathjax_include.html" />
|
||||
<%page args="disable_fast_preview=True"/>
|
||||
|
||||
<%include file="/mathjax_include.html" args="disable_fast_preview=disable_fast_preview"/>
|
||||
|
||||
@@ -18,7 +18,8 @@ from django.core.urlresolvers import reverse
|
||||
</%block>
|
||||
|
||||
<%block name="js_extra">
|
||||
<%include file="_js_body_dependencies.html" />
|
||||
## Enable fast preview to fix discussion MathJax rendering bug when page first loads.
|
||||
<%include file="_js_body_dependencies.html" args="disable_fast_preview=False"/>
|
||||
<%static:js group='discussion'/>
|
||||
</%block>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user