[web-php] master: Fix the ReferenceError when using keyboard navigation (#1890)
| From: | Benoit Esnard via GitHub | Date: | Wed, 22 Apr 2026 05:54:43 +0000 |
| Subject: | [web-php] master: Fix the ReferenceError when using keyboard navigation (#1890) | ||
| Groups: | php.webmaster | ||
| Request: | Send a blank email to php-webmaster+get-33684@lists.php.net to get a copy of this message | ||
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"
- });
}
}