From ae6df62434e184964d37c8e4b74906430d0773b9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20Krier?= Date: Thu, 10 Oct 2024 14:04:47 +0200 Subject: [PATCH] Collapse main navbar when link is clicked The main navbar is collapsed automatically on small screens when a tab is selected. --- sao/index.html | 3 +++ 1 file changed, 3 insertions(+) diff --git a/sao/index.html b/sao/index.html index 08cce6a8a9..2b3dd99059 100644 --- a/sao/index.html +++ b/sao/index.html @@ -105,6 +105,9 @@ this repository contains the full copyright notices and license terms. --> } } }); + jQuery('#main_navbar').on('click', 'a', function() { + jQuery('#main_navbar').collapse('hide'); + }); }); }