Merge pull request #69 from MisterSchmitz/patch-1

fix: Issue #68
This commit is contained in:
David Miller 2016-08-19 14:57:38 -04:00 committed by GitHub
commit cd2a02dfb2
2 changed files with 3 additions and 3 deletions

View File

@ -19,8 +19,8 @@
}); });
// Closes the Responsive Menu on Menu Item Click // Closes the Responsive Menu on Menu Item Click
$('.navbar-collapse ul li a:not(.dropdown-toggle)').click(function() { $('.navbar-collapse ul li a').click(function(){
$('.navbar-toggle:visible').click(); $('.navbar-toggle:visible').click();
}); });
// Offset for Main Navigation // Offset for Main Navigation

2
js/agency.min.js vendored
View File

@ -3,4 +3,4 @@
* Copyright 2013-2016 Start Bootstrap * Copyright 2013-2016 Start Bootstrap
* Licensed under MIT (https://github.com/BlackrockDigital/startbootstrap/blob/gh-pages/LICENSE) * Licensed under MIT (https://github.com/BlackrockDigital/startbootstrap/blob/gh-pages/LICENSE)
*/ */
!function(t){"use strict";t("a.page-scroll").bind("click",function(o){var a=t(this);t("html, body").stop().animate({scrollTop:t(a.attr("href")).offset().top-50},1250,"easeInOutExpo"),o.preventDefault()}),t("body").scrollspy({target:".navbar-fixed-top",offset:51}),t(".navbar-collapse ul li a:not(.dropdown-toggle)").click(function(){t(".navbar-toggle:visible").click()}),t("#mainNav").affix({offset:{top:100}})}(jQuery); !function(t){"use strict";t("a.page-scroll").bind("click",function(a){var o=t(this);t("html, body").stop().animate({scrollTop:t(o.attr("href")).offset().top-50},1250,"easeInOutExpo"),a.preventDefault()}),t("body").scrollspy({target:".navbar-fixed-top",offset:51}),t(".navbar-collapse ul li a").click(function(){t(".navbar-toggle:visible").click()}),t("#mainNav").affix({offset:{top:100}})}(jQuery);