zregvart commented on a change in pull request #418:
URL: https://github.com/apache/camel-website/pull/418#discussion_r448042291



##########
File path: antora-ui-camel/src/js/01-nav.js
##########
@@ -38,11 +38,9 @@
     }
   })
 
-  nav.querySelector('.context').addEventListener('click', function () {
-    var currentPanel = nav.querySelector('.is-active[data-panel]')

Review comment:
       Perhaps the only change that's needed is to change this line to:
   ```javascript
   var currentPanel = nav.querySelector('.is-active + div[data-panel]')
   ```




----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Reply via email to