summaryrefslogtreecommitdiff
path: root/ext/js/pages/settings/modal.js
diff options
context:
space:
mode:
Diffstat (limited to 'ext/js/pages/settings/modal.js')
-rw-r--r--ext/js/pages/settings/modal.js5
1 files changed, 1 insertions, 4 deletions
diff --git a/ext/js/pages/settings/modal.js b/ext/js/pages/settings/modal.js
index 7e20dcb4..1eee00d7 100644
--- a/ext/js/pages/settings/modal.js
+++ b/ext/js/pages/settings/modal.js
@@ -23,10 +23,7 @@ export class Modal extends PanelElement {
* @param {HTMLElement} node
*/
constructor(node) {
- super({
- node,
- closingAnimationDuration: 375 // Milliseconds; includes buffer
- });
+ super(node, 375); // Milliseconds; includes buffer
/** @type {?Element} */
this._contentNode = null;
/** @type {boolean} */