Hide Twitter Bootstrap nav collapse on click

This is not a submenu dropdown, the category is class li as in the picture: By selecting a category from the responsive menu (the template is just one page), I want to hide nav collapse