I’m using Bootstrap spyscroll on my nav. The last list-item #contact has a different style than the other links. I want to stop it from appending the .active spyscroll class when i click it. How can i do this?
If you’re absolutely dead set on ‘this class must not exist’, then you can: (In descending order of preference)
1: Not have a div with ID “contact” in the body.
2: Add a onclick to the contact handler to delay for 0.1 seconds and then remove the class
3: Run a continually looping setInterval to check for the existance of the active class in the contact and remove it.