From 0829f3e6943f087a8d973681aa3ad5ee86fcb9db Mon Sep 17 00:00:00 2001 From: Ian Davies Date: Thu, 20 Mar 2014 16:23:25 +0000 Subject: [PATCH] Show choices for IsaacQuestions. --- src/main/webapp/static/js/app/MathJaxConfig.js | 1 + src/main/webapp/static/js/app/content_editor.js | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/src/main/webapp/static/js/app/MathJaxConfig.js b/src/main/webapp/static/js/app/MathJaxConfig.js index a6f2ec0..91f4856 100644 --- a/src/main/webapp/static/js/app/MathJaxConfig.js +++ b/src/main/webapp/static/js/app/MathJaxConfig.js @@ -25,6 +25,7 @@ define(["mathjax"], function() { "vtr": ["{\\underline{\\boldsymbol{#1}}}",1], "d": "\\operatorname{d}", "vari": ["#1",1], + "s": ["_{\\sf{#1}}", 1], } }, }); diff --git a/src/main/webapp/static/js/app/content_editor.js b/src/main/webapp/static/js/app/content_editor.js index 79885b2..7c5d3e4 100644 --- a/src/main/webapp/static/js/app/content_editor.js +++ b/src/main/webapp/static/js/app/content_editor.js @@ -619,7 +619,7 @@ define(["react", "jquery", "rsvp", "codemirrorJS", "showdown", "app/MathJaxConfi var exposition = ; var optionalHints = - if (this.props.doc.type == "choiceQuestion") + if (this.props.doc.type == "choiceQuestion" || this.props.doc.type == "isaacMultiChoiceQuestion" || this.props.doc.type == "isaacNumericQuestion" || this.props.doc.type == "isaacSymbolicQuestion") var choices = if (!this.props.doc.answer)