Disable Fast Preview for version 2.5.

Except for the Discussion Tab.
TNL-3693, TNL-3365
This commit is contained in:
cahrens
2015-10-27 10:59:11 -04:00
parent c032fefc74
commit deb4e35f92
9 changed files with 69 additions and 28 deletions

View File

@@ -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"/>

View File

@@ -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>