You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@beam.apache.org by bh...@apache.org on 2021/05/25 21:57:13 UTC
[beam] branch master updated: Minor: Fix doc left nav on dev
website (#14881)
This is an automated email from the ASF dual-hosted git repository.
bhulette pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/beam.git
The following commit(s) were added to refs/heads/master by this push:
new 324cf7d Minor: Fix doc left nav on dev website (#14881)
324cf7d is described below
commit 324cf7d4d434511a8108f22e4ee1164318b01133
Author: David Huntsperger <56...@users.noreply.github.com>
AuthorDate: Tue May 25 14:55:53 2021 -0700
Minor: Fix doc left nav on dev website (#14881)
---
website/www/site/static/js/section-nav.js | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/website/www/site/static/js/section-nav.js b/website/www/site/static/js/section-nav.js
index a60c351..0723210 100644
--- a/website/www/site/static/js/section-nav.js
+++ b/website/www/site/static/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);