From: Mark Otto Date: Sat, 6 Feb 2016 08:22:31 +0000 (-0800) Subject: Improve docs sidenav active link highlighting X-Git-Tag: v4.0.0-alpha.3~318 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=42c52a278f4f3f5070fe943be37303eced605e38;p=thirdparty%2Fbootstrap.git Improve docs sidenav active link highlighting Capture the slug once before applying it and add a slash to it to so we get a unique string to match against instead of a fuzzy partial 'contains'. Helps avoid 'grid' highlighting 'flexbox-grid', for example. --- diff --git a/docs/_includes/nav-docs.html b/docs/_includes/nav-docs.html index fa29841883..b4f4d1f9ec 100644 --- a/docs/_includes/nav-docs.html +++ b/docs/_includes/nav-docs.html @@ -25,6 +25,7 @@