only macs seem to require the shift+tab fix

This commit is contained in:
Damien Elmes 2017-08-16 21:51:57 +10:00
parent 375c071a26
commit 53fb3b0e8c

View file

@ -34,7 +34,8 @@ function onKey() {
return;
}
// shift+tab goes to previous field
if (window.event.which === 9 && window.event.shiftKey) {
if (navigator.platform === "MacIntel" &&
window.event.which === 9 && window.event.shiftKey) {
focusPrevious();
return;
}