Prevent default `Tab` key behavior on menu items

This commit is contained in:
daria 2023-11-24 12:49:38 +02:00
parent 814e795979
commit 2711ea6f04
1 changed files with 4 additions and 0 deletions

View File

@ -1776,6 +1776,10 @@ define([
hide();
$button.focus();
}
if(e.which === 9) { // Tab
e.preventDefault();
e.stopPropagation();
}
});
$container.keypress(function (e) {
window.clearTimeout(to);