lundi 30 mars 2015

In an Ember handlebars template, ".active" styling does not stick

I am working on an Ember project and noticed some weird behavior. I am using {{link-to}} helpers to build all my in-app links, and when I am on the correct page the navigation links correctly have an active class assigned.


What I noticed, however, is that the styling only persists until I click on the page. When I click on anything else, the styling goes away, however the class seems to remain.


Is there anything that I am possibly missing? I am pretty new to Ember, and most of my work has been on web pages that have little AJAX content, so it is entirely possible I am missing something super simple.


Thank you,





Aucun commentaire:

Enregistrer un commentaire