diff --git a/src/main/resources/lib/credentials/dialog.js b/src/main/resources/lib/credentials/dialog.js index 87b2419e9..56a18a39f 100644 --- a/src/main/resources/lib/credentials/dialog.js +++ b/src/main/resources/lib/credentials/dialog.js @@ -3,5 +3,5 @@ Behaviour.specify("#credentials-add-submit", 'credentials-dialog-add', 0, functi }); Behaviour.specify("#credentials-add-abort", 'credentials-dialog-abort', 0, function (e) { - e.onclick = (_) => window.credentials.dialog.style.display = "none"; + e.onclick = (_) => window.credentials.dialog.hide(); }); \ No newline at end of file