site/_js/web-components/side-nav.js
/**
   * Block clicks if the user is just clicking around inside of the nav element.
   * @param {Event} e
   */
Block clicks if the user is just clicking around inside of the nav element.
@param {Event} e
Block clicks if the user is just clicking around inside of the nav element . @param { Event } e
onBlockClicks(e) {
    const link =  (e.target).closest('a');
    if (!link) {
      e.stopPropagation();
    }
  }
onBlockClicks ( e ) { const link = ( e . target ) . closest ( 'a' ) ; if ( ! link ) { e . stopPropagation ( ) ; } }
Block clicks if the user is just clicking around inside of the nav element.
Block clicks if the user is just clicking around inside of the nav element .
/** @type {HTMLElement} */