Author: Benoit Esnard (esnard)
Committer: GitHub (web-flow)
Pusher: sy-records
Date: 2026-04-22T13:54:41+08:00
Commit: Fix the ReferenceError when using keyboard navigation (#1890) · php/web-php@b991124 · GitHub
Raw diff: https://github.com/php/web-php/commit/b991124afe66116e96b087d4723fbcf8b6a32f18.diff
Fix the ReferenceError when using keyboard navigation (#1890)
Changed paths:
M js/common.js
Diff:
diff --git a/js/common.js b/js/common.js
index aac5fb05ce..fc17595636 100644
--- a/js/common.js
+++ b/js/common.js
@@ -118,9 +118,6 @@ function cycleMenuItems(current, forward) {
var nextOrPreviousSibling = getNextOrPreviousSibling(current, forward);
if (nextOrPreviousSibling.length) {
cycle(nextOrPreviousSibling, current);
- curr.children("a").first().focus().css({
- outline: "none"
- });
}
}