From 692960372986b7258488459a7eca0a21857f539c Mon Sep 17 00:00:00 2001 From: Jose Loguercio Date: Sat, 29 Apr 2017 17:05:57 -0500 Subject: [PATCH] Fix TEXT unselect and complete blur text --- main/exercise/exercise.class.php | 1 + main/template/default/exercise/reading_comprehension.tpl | 5 +++-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/main/exercise/exercise.class.php b/main/exercise/exercise.class.php index 8529d5d48a..c3fd80f1a2 100755 --- a/main/exercise/exercise.class.php +++ b/main/exercise/exercise.class.php @@ -3261,6 +3261,7 @@ class Exercise case UNIQUE_ANSWER: case UNIQUE_ANSWER_IMAGE: case UNIQUE_ANSWER_NO_OPTION: + case READING_COMPREHENSION: if ($from_database) { $sql = "SELECT answer FROM $TBL_TRACK_ATTEMPT WHERE diff --git a/main/template/default/exercise/reading_comprehension.tpl b/main/template/default/exercise/reading_comprehension.tpl index 9c4689917a..5e1cce4fd1 100644 --- a/main/template/default/exercise/reading_comprehension.tpl +++ b/main/template/default/exercise/reading_comprehension.tpl @@ -1,5 +1,5 @@ -
-
+
+
{{ text }}
@@ -44,6 +44,7 @@ window.clearInterval(timeOuId); $('.radio').removeClass('hide-reading-answers'); $('.question_title').removeClass('hide-reading-answers'); + $('.text-highlight').removeClass('border'); return; }