This is an automated email from the ASF dual-hosted git repository.
github-bot pushed a commit to branch gh-pages
in repository https://gitbox.apache.org/repos/asf/mina-sshd.git
The following commit(s) were added to refs/heads/gh-pages by this push:
new 6a4c711a9 Site checkin for project Apache Mina SSHD
6a4c711a9 is described below
commit 6a4c711a92b82b412c52f571d10621f6196f138e
Author: github-actions[bot]
<41898282+github-actions[bot]@users.noreply.github.com>
AuthorDate: Wed Apr 23 11:41:08 2025 +0000
Site checkin for project Apache Mina SSHD
---
js/detailopener.js | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/js/detailopener.js b/js/detailopener.js
index 952bc4663..be92444b5 100644
--- a/js/detailopener.js
+++ b/js/detailopener.js
@@ -21,9 +21,9 @@ const openDetails = (link) => {
let detail = link.closest('details');
while (detail) {
detail.open = true;
- const parent = detail.parentNode;
- if (parent) {
- detail = parent.closest('details');
+ detail = detail.parentNode;
+ if (detail) {
+ detail = detail.closest('details');
}
}
};