From 6a943415f172a430cc23178efc3a71c3d2bb925d Mon Sep 17 00:00:00 2001 From: nklhrstv Date: Wed, 12 Feb 2020 12:15:48 +0200 Subject: [PATCH] back key binding fixed --- src/services/KeyboardNavigation/KeyboardNavigation.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/services/KeyboardNavigation/KeyboardNavigation.js b/src/services/KeyboardNavigation/KeyboardNavigation.js index cfcfe58f3..c3ad4a65b 100644 --- a/src/services/KeyboardNavigation/KeyboardNavigation.js +++ b/src/services/KeyboardNavigation/KeyboardNavigation.js @@ -15,7 +15,7 @@ function KeyboardNavigation() { return; } - if (event.target.tag !== 'INPUT') { + if (event.target.tagName !== 'INPUT') { if (event.key === 'Backspace') { window.history.back(); return;