Skip to content

[Sprint/ModestMonkey](fix): Return void if there is no selected or deselected image

Ben requested to merge fix/blogs-image-select-1791 into master

Closes #1791 (closed)

The issue is in the image embed, on image click. This is bound as an onclick event and if its firing on an image, and if e.target doesn't exist, we should just be returning void.

To test please go make a blog, add an image, click it, deselect etc.

Edited by Ben

Merge request reports