mirror of
https://github.com/ankitects/anki.git
synced 2025-09-19 06:22:22 -04:00
fix shift+tab on osx again
presumably broke in upgrade to qt 5.9.2
This commit is contained in:
parent
d02901fb7a
commit
48405c0ee7
1 changed files with 1 additions and 0 deletions
|
@ -36,6 +36,7 @@ function onKey() {
|
||||||
// shift+tab goes to previous field
|
// shift+tab goes to previous field
|
||||||
if (navigator.platform === "MacIntel" &&
|
if (navigator.platform === "MacIntel" &&
|
||||||
window.event.which === 9 && window.event.shiftKey) {
|
window.event.which === 9 && window.event.shiftKey) {
|
||||||
|
window.event.preventDefault();
|
||||||
focusPrevious();
|
focusPrevious();
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue