You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I think I found the problem: we keep adding on class definitions on every round: class ="btn-activity col care_self other_category"
I think we need to reset to class ="btn-activity col"
before adding the category class...
And they do.
I changed l.228 in index.js button.addClass(activity.category || "other_category");
to button.addClass(activity.category);
and now all seems fine - must admit that I am not sure what the || bit was for - so I hope I haven't broken something else..
No description provided.
The text was updated successfully, but these errors were encountered: