From 059b45545157ec1807eb760c7af5f20dccb18747 Mon Sep 17 00:00:00 2001 From: Nolan Lawson Date: Sat, 23 Mar 2019 18:16:06 -0700 Subject: [PATCH] fix: fix and test shortcut keys in modals (#1115) --- .../dialog/components/MediaDialog.html | 9 +-- .../dialog/components/ModalDialog.html | 9 ++- .../dialog/components/ShortcutHelpDialog.html | 2 +- tests/spec/030-shortcuts-modal.js | 75 +++++++++++++++++++ tests/utils.js | 7 ++ 5 files changed, 90 insertions(+), 12 deletions(-) create mode 100644 tests/spec/030-shortcuts-modal.js diff --git a/src/routes/_components/dialog/components/MediaDialog.html b/src/routes/_components/dialog/components/MediaDialog.html index f2b01ffd..b4e57725 100644 --- a/src/routes/_components/dialog/components/MediaDialog.html +++ b/src/routes/_components/dialog/components/MediaDialog.html @@ -75,8 +75,8 @@ - - + +