diff --git a/ts/editable/Mathjax.svelte b/ts/editable/Mathjax.svelte
index ccf442f12..0f3a3385f 100644
--- a/ts/editable/Mathjax.svelte
+++ b/ts/editable/Mathjax.svelte
@@ -3,7 +3,7 @@ Copyright: Ankitects Pty Ltd and contributors
License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html
-->
@@ -63,7 +69,6 @@ License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html
autoClose={false}
distance={4}
let:createDropdown
- let:dropdownObject
>
{#if activeImage}
{
- await onEditorUpdate(event);
- dropdownObject.update();
- }}
+ on:update={onEditorUpdate}
/>