This is an automated email from the ASF dual-hosted git repository.

git-site-role pushed a commit to branch asf-site
in repository https://gitbox.apache.org/repos/asf/beam.git


The following commit(s) were added to refs/heads/asf-site by this push:
     new b9703dd  Publishing website 2021/05/26 00:03:38 at commit 8922c1c
b9703dd is described below

commit b9703ddbdf91020f21646040e32464ad16efe631
Author: jenkins <bui...@apache.org>
AuthorDate: Wed May 26 00:03:39 2021 +0000

    Publishing website 2021/05/26 00:03:38 at commit 8922c1c
---
 website/generated-content/js/section-nav.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/website/generated-content/js/section-nav.js 
b/website/generated-content/js/section-nav.js
index a60c351..0723210 100644
--- a/website/generated-content/js/section-nav.js
+++ b/website/generated-content/js/section-nav.js
@@ -83,7 +83,7 @@ $(document).ready(function () {
 
             "displayActiveItem": function () {
                 const currentLocation = window.location.pathname + 
window.location.hash;
-                var activeItem = document.querySelectorAll("nav [href='" + 
currentLocation + "']");
+                var activeItem = document.querySelectorAll("nav [href$='" + 
currentLocation + "']");
                 if (activeItem && activeItem.length > 0) {
                     activeItem = activeItem[0];
                     activeItem.classList.add(CONST.ACTIVE_CLASS);

Reply via email to