From bb4b5da583fc3fea2d0b377cb00158072c118062 Mon Sep 17 00:00:00 2001 From: Tom Carrick Date: Thu, 22 Aug 2024 14:22:23 +0200 Subject: [PATCH] Fix typos --- django_admin_keyboard_shortcuts/static/admin/js/shortcuts.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/django_admin_keyboard_shortcuts/static/admin/js/shortcuts.js b/django_admin_keyboard_shortcuts/static/admin/js/shortcuts.js index 1889862..9fb8ead 100644 --- a/django_admin_keyboard_shortcuts/static/admin/js/shortcuts.js +++ b/django_admin_keyboard_shortcuts/static/admin/js/shortcuts.js @@ -56,10 +56,10 @@ function isFocusedTextField() { } function handleKeyDown(event) { - console.log("keydown") + console.log("keydown"); if (isFocusedTextField()) { return; } const shortcut = previousKey ? `${previousKey} ${event.key}` : event.key; - console.log(shorcutFunctions); + console.log(shortcutFunctions); if (shortcutFunctions.has(shortcut)) { console.log("has shortcut"); shortcutFunctions.get(shortcut)();