summaryrefslogtreecommitdiffstats
path: root/client/lib/modal.js
diff options
context:
space:
mode:
Diffstat (limited to 'client/lib/modal.js')
-rw-r--r--client/lib/modal.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/client/lib/modal.js b/client/lib/modal.js
index 7b7516e0..e6301cb5 100644
--- a/client/lib/modal.js
+++ b/client/lib/modal.js
@@ -21,7 +21,7 @@ window.Modal = new class {
}
}
- open(modalName, { onCloseGoTo = ''}) {
+ open(modalName, { onCloseGoTo = ''} = {}) {
this._currentModal.set(modalName);
this._onCloseGoTo = onCloseGoTo;
}