diff --git a/Web/static/js/messagebox.js b/Web/static/js/messagebox.js index 6c5bd8c0..1071cded 100644 --- a/Web/static/js/messagebox.js +++ b/Web/static/js/messagebox.js @@ -24,10 +24,10 @@ function MessageBox(title, body, buttons, callbacks) { }; Reflect.apply(callbacks[callback], { - closeDialog: __closeDialog() + closeDialog: () => __closeDialog() }, [e]); __closeDialog(); }); }); -} \ No newline at end of file +}