Fix show number of answer for hotspot question results - refs #7705

1.10.x
Angel Fernando Quiroz Campos 9 years ago
parent 23cb5c5133
commit 36eac05372
  1. 4
      main/plugin/hotspot2/js/hotspot_solution.js

@ -72,7 +72,7 @@ var HotSpotSolution = (function () {
hotSpotSVG.setAttribute('stroke-width', 2);
hotSpotSVG.setAttribute('stroke', 'rgb(' + color + ')');
hotSpotSVG.setAttribute('fill', 'rgba(' + color + ', 0.5)');
hotSpotSVG.setAttribute('fill', 'rgba(' + color + ', 0.75)');
this.el.appendChild(hotSpotSVG);
};
@ -90,7 +90,7 @@ var HotSpotSolution = (function () {
textSVG.setAttribute('font-family', 'sans-serif');
textSVG.setAttribute('text-anchor', 'middle');
textSVG.setAttribute('fill', 'white');
textSVG.textContent = hotSpots.length;
textSVG.textContent = answers.length;
this.el.appendChild(pointSVG);
this.el.appendChild(textSVG);

Loading…
Cancel
Save