add href to images with onClick
jo-pol opened this issue · 2 comments
jo-pol commented
problem: https://groups.io/g/GroundForge/topic/81673031
quick fix: 9bba012e
The current workaround sets the focus to the draggable
checkbox. It would be better to set the focus to the clicked image. For that purpose it should become a link with a javascript:...
href attribute.
Another issue in this context: why did the "d3.select" call not work from within the onclick
event? Would it work from the 'href' attribute?