summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorgit2018-03-11 18:18:02 (GMT)
committerMark Carver2018-03-11 18:18:02 (GMT)
commit7e0bdf301657c3561c25c973e89942bd87da35f9 (patch)
tree63b9c7e0b7fa94df9fdec17662b61abf0c72c0b5
parentbe175e66d0f985758d6823125bf54019314e70b7 (diff)
Issue #2949112 by Serhiy Chornobay: Not possible to select vertical tabs menu items with keyboard8.x-3.11
-rw-r--r--js/misc/vertical-tabs.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/js/misc/vertical-tabs.js b/js/misc/vertical-tabs.js
index 25befa5..0085c4d 100644
--- a/js/misc/vertical-tabs.js
+++ b/js/misc/vertical-tabs.js
@@ -148,8 +148,8 @@
// Keyboard events added:
// Pressing the Enter key will open the tab pane.
this.link.on('keydown', function (event) {
- event.preventDefault();
if (event.keyCode === 13) {
+ event.preventDefault();
self.focus();
// Set focus on the first input field of the visible details/tab pane.
$(".vertical-tabs-pane :input:visible:enabled:first").trigger('focus');