Fix hotspot index on solution - refs #7705

1.10.x
Angel Fernando Quiroz Campos 9 years ago
parent bfb797c5a4
commit 267be87001
  1. 2
      main/inc/lib/javascript/hotspot/js/hotspot.js

@ -1020,7 +1020,7 @@ var HotspotQuestion = (function () {
return this;
};
SolutionHotspotsSVG.prototype.renderHotspot = function (hotspotModel) {
var hotspotIndex = this.hotspotsCollection.length,
var hotspotIndex = this.hotspotsCollection.length - 1,
hotspotSVG = new HotspotSVG(hotspotModel, hotspotIndex);
this.el.appendChild(

Loading…
Cancel
Save