diff --git a/package-lock.json b/package-lock.json index 8b930f28..7fedf2d4 100644 --- a/package-lock.json +++ b/package-lock.json @@ -14,6 +14,11 @@ "resolved": "https://registry.npmjs.org/@types/node/-/node-9.4.0.tgz", "integrity": "sha512-zkYho6/4wZyX6o9UQ8rd0ReEaiEYNNCqYFIAACe2Tf9DrYlgzWW27OigYHnnztnnZQwVRpwWmZKegFmDpinIsA==" }, + "a11y-dialog": { + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/a11y-dialog/-/a11y-dialog-4.0.1.tgz", + "integrity": "sha512-JsYMIaoZt7nZM1oDbxLBijyl09uZa91+UdPF+P9YadmmdtaVYx44v131UcqAhN48jNp8/BGV/80uMsBacPo2gg==" + }, "abbrev": { "version": "1.1.1", "resolved": "https://registry.npmjs.org/abbrev/-/abbrev-1.1.1.tgz", @@ -1389,11 +1394,6 @@ "resolved": "https://registry.npmjs.org/destroy/-/destroy-1.0.4.tgz", "integrity": "sha1-l4hXRCxEdJ5CBmE+N5RiBYJqvYA=" }, - "dialog-polyfill": { - "version": "0.4.9", - "resolved": "https://registry.npmjs.org/dialog-polyfill/-/dialog-polyfill-0.4.9.tgz", - "integrity": "sha512-iM4ZXRLOA/qpbW6XznGOq7Iq58JoXhZGo+OMG8K3wFxvIatnMTnIancLGEKa6WYy6oTkndfb2UXQ6FGtoUBn1g==" - }, "diffie-hellman": { "version": "5.0.2", "resolved": "https://registry.npmjs.org/diffie-hellman/-/diffie-hellman-5.0.2.tgz", diff --git a/package.json b/package.json index f039a99d..1ff0b1d7 100644 --- a/package.json +++ b/package.json @@ -17,13 +17,13 @@ }, "dependencies": { "@gamestdio/websocket": "^0.2.2", + "a11y-dialog": "^4.0.1", "cheerio": "^1.0.0-rc.2", "chokidar": "^2.0.0", "compression": "^1.7.1", "concurrently": "^3.5.1", "cross-env": "^5.1.3", "css-loader": "^0.28.7", - "dialog-polyfill": "^0.4.9", "express": "^4.16.2", "extract-text-webpack-plugin": "^3.0.2", "fg-loadcss": "^2.0.1", diff --git a/routes/_components/ModalDialog.html b/routes/_components/ModalDialog.html index 9e107cfb..144329f6 100644 --- a/routes/_components/ModalDialog.html +++ b/routes/_components/ModalDialog.html @@ -1,25 +1,41 @@ -
-
- + + \ No newline at end of file diff --git a/routes/_components/status/ImageDialog.html b/routes/_components/status/ImageDialog.html index 2427d4fb..5993e172 100644 --- a/routes/_components/status/ImageDialog.html +++ b/routes/_components/status/ImageDialog.html @@ -1,4 +1,4 @@ - + {{#if type === 'gifv'}}