diff --git a/package.json b/package.json index 8aecc17..c85e145 100644 --- a/package.json +++ b/package.json @@ -8,12 +8,10 @@ "ajv": "^8.6.3", "bent": "^7.3.12", "body-parser": "^1.19.0", - "dialog-polyfill": "^0.5.6", "doipjs": "^1.0.0", "dotenv": "^16.0.3", "express": "^4.17.1", "express-validator": "^6.13.0", - "fork-awesome": "^1.2.0", "got": "^11.8.2", "hash-wasm": "^4.9.0", "jstransformer-markdown-it": "^3.0.0", diff --git a/static-src/styles.scss b/static-src/styles.scss index cc19fe9..0e6b3bd 100644 --- a/static-src/styles.scss +++ b/static-src/styles.scss @@ -32,9 +32,6 @@ more information on this, and how to apply and follow the GNU AGPL, see . */ -import dialogPolyfill from 'dialog-polyfill' import QRCode from 'qrcode' import * as openpgp from 'openpgp' import * as utils from './utils.js' @@ -51,17 +50,6 @@ const elUtilBcryptVerification = document.body.querySelector("#form-util-bcrypt- // Initialize UI elements and event listeners export function init() { - // Register modals - document.querySelectorAll('dialog').forEach(function(d) { - dialogPolyfill.registerDialog(d); - d.addEventListener('click', function(ev) { - if (ev && ev.target != d) { - return; - } - d.close(); - }); - }); - // Run context-dependent scripts if (elFormEncrypt) { runEncryptionForm() diff --git a/yarn.lock b/yarn.lock index 746e052..badf363 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1789,11 +1789,6 @@ destroy@1.2.0: resolved "https://registry.yarnpkg.com/destroy/-/destroy-1.2.0.tgz#4803735509ad8be552934c67df614f94e66fa015" integrity sha512-2sJGJTaXIIaR1w4iJSNoN0hnMY7Gpc/n8D4qSCJw8QqFWXf7cuAgnEHxBpweaVcPevC2l3KpjYCx3NypQQgaJg== -dialog-polyfill@^0.5.6: - version "0.5.6" - resolved "https://registry.yarnpkg.com/dialog-polyfill/-/dialog-polyfill-0.5.6.tgz#7507b4c745a82fcee0fa07ce64d835979719599a" - integrity sha512-ZbVDJI9uvxPAKze6z146rmfUZjBqNEwcnFTVamQzXH+svluiV7swmVIGr7miwADgfgt1G2JQIytypM9fbyhX4w== - diff@5.0.0: version "5.0.0" resolved "https://registry.yarnpkg.com/diff/-/diff-5.0.0.tgz#7ed6ad76d859d030787ec35855f5b1daf31d852b" @@ -2451,11 +2446,6 @@ for-each@^0.3.3: dependencies: is-callable "^1.1.3" -fork-awesome@^1.2.0: - version "1.2.0" - resolved "https://registry.yarnpkg.com/fork-awesome/-/fork-awesome-1.2.0.tgz#acd43f1e1f54510fa45209c31385b4fde3a95003" - integrity sha512-MNwTBnnudMIweHfDtTY8TeR5fxIAZ2w9o8ITn5XDySqdxa4k5AH8IuAMa89RVxDxgPNlosZxqkFKN5UmHXuYSw== - forwarded@0.2.0: version "0.2.0" resolved "https://registry.yarnpkg.com/forwarded/-/forwarded-0.2.0.tgz#2269936428aad4c15c7ebe9779a84bf0b2a81811"