diff --git a/ui/src/components/editor/PreviewDoor.vue b/ui/src/components/editor/PreviewDoor.vue index 9fb0cd8..42c5354 100644 --- a/ui/src/components/editor/PreviewDoor.vue +++ b/ui/src/components/editor/PreviewDoor.vue @@ -53,7 +53,7 @@ export default class extends Vue { } public on_click(event: MouseEvent) { - if (event.target === null || !(event.target instanceof SVGRectElement)) { + if (event.target === null || !(event.target instanceof HTMLDivElement)) { return; }