Created
March 12, 2019 13:43
-
-
Save stanruss/76761394542ff62cbd9959a567ad3c99 to your computer and use it in GitHub Desktop.
Скрыть мобильное меню при нажатии на ссылку
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$(function(){ | |
var navMain = $(".navbar-collapse"); | |
navMain.on("click", "a:not([data-toggle])", null, function () { | |
navMain.collapse('hide'); | |
}); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment