invert F2 and Shift+F2

This commit is contained in:
Ludovic Stephan 2016-12-09 00:32:44 -02:00
parent f5ebe3f166
commit e725a10026

View file

@ -1250,13 +1250,13 @@ $(document).ready(function() {
return false; return false;
case 113: case 113:
if (e.shiftKey) { if (e.shiftKey) {
// Shift+F2 - Basket reset // Shift+F2 - Account reset
resetBasket();
articleSelect.focus();
} else {
// F2 - Account reset
resetAccount(); resetAccount();
triInput.focus(); triInput.focus();
} else {
// F2 - Basket reset
resetBasket();
articleSelect.focus();
} }
return false; return false;
case 114: case 114: