diff --git a/main/inc/lib/javascript/hotspot/js/hotspot.js b/main/inc/lib/javascript/hotspot/js/hotspot.js index 368ae1a7d7..5361c15531 100755 --- a/main/inc/lib/javascript/hotspot/js/hotspot.js +++ b/main/inc/lib/javascript/hotspot/js/hotspot.js @@ -917,17 +917,17 @@ window.HotspotQuestion = (function () { if (self.answersCollection.length === self.hotspotsCollection.length) { $(config.selector).parent() - .find('#hotspot-messages span:not(.fa)-' + config.questionId).text( - lang.HotspotExerciseFinished + .find('#hotspot-messages-' + config.questionId + ' span:not(.fa)').text( + lang.HotspotExerciseFinished ); return; } $(config.selector).parent() - .find('#hotspot-messages span:not(.fa)-' + config.questionId).text( - lang.NextAnswer + ' ' + self.hotspotsCollection.get( - self.answersCollection.length + .find('#hotspot-messages-' + config.questionId + ' span:not(.fa)').text( + lang.NextAnswer + ' ' + self.hotspotsCollection.get( + self.answersCollection.length ).name ); @@ -988,7 +988,12 @@ window.HotspotQuestion = (function () { $(config.selector).css('width', this.width).append(hotspotsSVG.render().el); - $(config.selector).parent().prepend('
'); + $(config.selector).parent().prepend('\n\ +