nav ajax on
Closed this issue · 1 comments
gregtampa commented
I know the code is here:
https://github.com/usmanhalalit/charisma/blob/master/js/charisma.js#L55
but what exactly would I change to make the nav use ajax permanently.
usmanhalalit commented
Replace this line:
https://github.com/usmanhalalit/charisma/blob/master/js/charisma.js#L102
with:
if (e.which != 1 || $(this).parent().hasClass('active')) return;