|
|
|
@ -1,7 +1,5 @@ |
|
|
|
|
window.HotspotQuestion = (function () { |
|
|
|
|
return function (settings) { |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
var HotspotModel = function (attributes) { |
|
|
|
|
this.attributes = attributes; |
|
|
|
|
this.id = 0; |
|
|
|
@ -56,8 +54,6 @@ window.HotspotQuestion = (function () { |
|
|
|
|
} |
|
|
|
|
}; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
SquareModel.decode = function (hotspotInfo) { |
|
|
|
|
var coords = hotspotInfo.coord.split('|'), |
|
|
|
|
position = coords[0].split(';'), |
|
|
|
@ -547,7 +543,8 @@ window.HotspotQuestion = (function () { |
|
|
|
|
y: 0 |
|
|
|
|
}; |
|
|
|
|
|
|
|
|
|
$el.on('dragstart', function (e) { |
|
|
|
|
$el |
|
|
|
|
.on('dragstart', function (e) { |
|
|
|
|
e.preventDefault(); |
|
|
|
|
}) |
|
|
|
|
.on('mousedown', function (e) { |
|
|
|
|