Fix keyboard navigation to trigger only if no modifier key is pressed

This commit is contained in:
CrazyMerlyn 2017-03-23 13:29:04 +05:30
parent a7272e0ff5
commit f814e96459

View file

@ -33,6 +33,7 @@ $( document ).ready(function() {
};
$(document).on('keydown', function (e) {
if (e.altKey || e.ctrlKey || e.metaKey || e.shiftKey) { return; }
switch (e.keyCode) {
case KEY_CODES.NEXT_KEY:
e.preventDefault();