diff --git a/ui/media/js/main.js b/ui/media/js/main.js index b0842620..0bbdb13b 100644 --- a/ui/media/js/main.js +++ b/ui/media/js/main.js @@ -774,7 +774,10 @@ function createInitImageHover(taskEntry) { img.src = taskEntry.querySelector('div.task-initimg > img').src $tooltip.append(img) $tooltip.append(`
`) - $tooltip.find('button').on('click', (e) => { onUseAsInputClick(null,img) } ) + $tooltip.find('button').on('click', (e) => { + e.stopPropagation() + onUseAsInputClick(null,img) + }) } let startX, startY;