diff --git a/src/ServicePulse.Host/app/js/app.controller.js b/src/ServicePulse.Host/app/js/app.controller.js index 6ff0486c6..e8d6ffedd 100644 --- a/src/ServicePulse.Host/app/js/app.controller.js +++ b/src/ServicePulse.Host/app/js/app.controller.js @@ -27,6 +27,11 @@ return active; }; + $($window.document).on('click', function (e) { + if ($('.navbar-collapse.in').is(':visible')) { + $('.navbar-collapse.in').collapse('hide'); + } + }); $scope.$on("$routeChangeError", function(event, current, previous, rejection) { toastService.showError("Route change error");