From eb1cc23ca5265c7c3ff07125f2293e6db25aac3b Mon Sep 17 00:00:00 2001 From: ichuang Date: Sat, 8 Mar 2014 02:43:07 +0000 Subject: [PATCH] fix capa textline display to leave "inline" alone upon status change --- common/lib/xmodule/xmodule/js/src/capa/display.coffee | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/lib/xmodule/xmodule/js/src/capa/display.coffee b/common/lib/xmodule/xmodule/js/src/capa/display.coffee index da0e63019b..b00ee26cd7 100644 --- a/common/lib/xmodule/xmodule/js/src/capa/display.coffee +++ b/common/lib/xmodule/xmodule/js/src/capa/display.coffee @@ -444,7 +444,7 @@ class @Problem $p = $(element).find('p.status') `// Translators: the word unanswered here is about answering a problem the student must solve.` $p.text gettext("unanswered") - $p.parent().removeClass().addClass "unanswered" + $p.parent().removeClass("correct incorrect").addClass "unanswered" inputtypeSetupMethods: