Hi.
I'm trying to call the js function from krpano and get an error.
<hotspot
type="text"
html=""
renderer="css3d"
onloaded="init_hotspot();"
distorted="true"
name="hotspot_1"
ath= "-55.25" atv= "26.31"
scale="1"
onclick="js(onHotspotClick([{a:'aaa'}]))"
/>
WARNING: js() - calling Javascript "onHotspotClick([{a:'aaa'}])" failed: SyntaxError: missing ) after argument list
What could be the problem?