[PHP-WEBMASTER] [web-php] master: Fix the ReferenceError when using keyboard navigation (#1890)
[email protected] (Benoit Esnard via GitHub) Wed, 22 Apr 2026 05:54:43 +0000
| Newsgroups | php.webmaster |
|---|---|
| Message-ID | <[email protected]> |
Author: Benoit Esnard (esnard)
Committer: GitHub (web-flow)
Pusher: sy-records
Date: 2026-04-22T13:54:41+08:00
Commit: https://github.com/php/web-php/commit/b991124afe66116e96b087d4723fbcf8b6a32f18
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"
- });
}
}