Last active
June 25, 2024 17:40
-
-
Save wplit/3026f3b98c048ed466d16da5d7d61d62 to your computer and use it in GitHub Desktop.
prevent tab moved on a + d keys
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
jQuery(document).ready(($) => { | |
$('#%%ELEMENT_ID%% .oxy-dynamic-tabs_panel-group').on('keydown', (e) => { | |
if ( 65 === e.keyCode || 68 === e.keyCode ) { | |
e.stopPropagation() | |
} | |
}) | |
}) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment