back key binding fixed

This commit is contained in:
nklhrstv 2020-02-12 12:15:48 +02:00
parent 9871e438e8
commit 6a943415f1

View file

@ -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;