[LON-CAPA-cvs] cvs: loncom /homework response.pm
damieng
damieng at source.lon-capa.org
Fri Feb 20 17:14:49 EST 2015
damieng Fri Feb 20 22:14:49 2015 EDT
Modified files:
/loncom/homework response.pm
Log:
set implicit operators for mathresponse preview
Index: loncom/homework/response.pm
diff -u loncom/homework/response.pm:1.238 loncom/homework/response.pm:1.239
--- loncom/homework/response.pm:1.238 Tue Dec 30 20:03:10 2014
+++ loncom/homework/response.pm Fri Feb 20 22:14:49 2015
@@ -1,7 +1,7 @@
# The LearningOnline Network with CAPA
# various response type definitons response definition
#
-# $Id: response.pm,v 1.238 2014/12/30 20:03:10 raeburn Exp $
+# $Id: response.pm,v 1.239 2015/02/20 22:14:49 damieng Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -617,6 +617,7 @@
<script type="text/javascript">
var LCmathField = document.getElementById('${field}');
LCmathField.className += ' math'; // note the space
+ LCmathField.setAttribute('data-implicit_operators', 'true');
var LCMATH_started;
if (typeof LCMATH_started === 'undefined') {
$mathjaxjs
More information about the LON-CAPA-cvs
mailing list