Active/Collapse class based on url is not working for submenus

后端 未结 0 1773
夕颜
夕颜 2020-11-22 06:05

I have the code below to add a .active class to a link if the href is equal to the url. It is working for the menu items but for the submenu items its not working properly.

相关标签:
回答
  • 消灭零回复
提交回复
热议问题