Apologies for the title, I couldn't think of a better way to explain my issue.
I have a list-group and I want the buttons to display a specific color when active. However, it seems that the embedded spans are capturing the click event and not registering as part of the a
element.
How can I resolve this problem? I want the button to change color regardless of where I click (on the span or elsewhere).
You can find the code here: https://jsfiddle.net/zj6uwmvu/
Thank you