From ccf34a6a3ccdf00c4d779a3222a976d2083095c3 Mon Sep 17 00:00:00 2001 From: Craig Bomba <37591248+cbo2@users.noreply.github.com> Date: Sat, 29 Jun 2019 19:49:56 -0500 Subject: [PATCH] Update bootstrap-better-nav.js I think the desired behavior when the user selects a nav item from the sidemenu is to go to the desired href, then to slide out (close) the sidemenu. That does not happen as it is now. But, with the change I have made it works. --- dist/bootstrap-better-nav.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dist/bootstrap-better-nav.js b/dist/bootstrap-better-nav.js index 3430eb2..f7f0ef7 100644 --- a/dist/bootstrap-better-nav.js +++ b/dist/bootstrap-better-nav.js @@ -53,7 +53,7 @@ $(function() { // Hide the menu when the overlay element is clicked. - overlay.on('click', function(e) { + sideMenu.on('click', function(e) { slideOut(); });