I have this
if( window.location.href == "http://localhost:3000/categories") {
$("#container ul #all_categories a.categories-menu").css("font-weight","bold");
}
});
but I have a url with:
http://localhost:3000/username/boards
username is dynamic username e.g.
http://localhost:3000/michael-21/boards
http://localhost:3000/Richard_10/boards
http://localhost:3000/Mary.50/boards
and change for each user.
How can do the same functionality but with this last url?
Thank you
$("#all_categories .categories-menu").