From 930c31bcd3dc4f83900376744d62df3d01d533df Mon Sep 17 00:00:00 2001 From: Angel Fernando Quiroz Campos Date: Fri, 11 Dec 2015 08:23:55 -0500 Subject: [PATCH] Fix lang on hotspot.js and remove console.log - refs #7705 --- main/inc/lib/javascript/hotspot/js/hotspot.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/main/inc/lib/javascript/hotspot/js/hotspot.js b/main/inc/lib/javascript/hotspot/js/hotspot.js index 4a83c93870..9e4ac52c30 100755 --- a/main/inc/lib/javascript/hotspot/js/hotspot.js +++ b/main/inc/lib/javascript/hotspot/js/hotspot.js @@ -1563,7 +1563,6 @@ var DelineationQuestion = (function () { e.preventDefault(); }, 'click': function (e) { - console.log(isDrawing); e.preventDefault(); var currentPoint = getPointOnImage(self.el, e.clientX, e.clientY), @@ -1619,6 +1618,8 @@ var DelineationQuestion = (function () { ); }; image.src = questionInfo.image; + + lang = questionInfo.lang; }; var config = {