From 474b5377b93e63e035938e4926883bb2c12b67c8 Mon Sep 17 00:00:00 2001 From: kimth Date: Tue, 11 Sep 2012 18:25:08 -0400 Subject: [PATCH] Consolidate class names --- common/lib/capa/capa/templates/textinput_dynamath.html | 4 ++-- common/lib/xmodule/xmodule/js/src/capa/display.coffee | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/common/lib/capa/capa/templates/textinput_dynamath.html b/common/lib/capa/capa/templates/textinput_dynamath.html index 856c29b3a0..d1de22ef27 100644 --- a/common/lib/capa/capa/templates/textinput_dynamath.html +++ b/common/lib/capa/capa/templates/textinput_dynamath.html @@ -1,10 +1,10 @@ ### ### version of textline.html which does dynamic math ### -
+
% if preprocessor is not None: -
+
% endif diff --git a/common/lib/xmodule/xmodule/js/src/capa/display.coffee b/common/lib/xmodule/xmodule/js/src/capa/display.coffee index 177a1e8806..7df98d4be0 100644 --- a/common/lib/xmodule/xmodule/js/src/capa/display.coffee +++ b/common/lib/xmodule/xmodule/js/src/capa/display.coffee @@ -327,12 +327,12 @@ class @Problem inputtypeSetupMethods: - textinputdynamath: (element) => + 'text-input-dynamath': (element) => ### Return: function (eqn) -> eqn that preprocesses the user formula input before it is fed into MathJax. Return 'false' if no preprocessor specified ### - data = $(element).find('.textinputdynamath_data') + data = $(element).find('.text-input-dynamath_data') preprocessorClassName = data.data('preprocessor') preprocessorClass = window[preprocessorClassName]