luci-theme-material: fix wrong active state on common prefix node 5000/head
authorLiangbin Lian <jjm2473@gmail.com>
Wed, 21 Apr 2021 10:00:48 +0000 (18:00 +0800)
committerLiangbin Lian <jjm2473@gmail.com>
Wed, 21 Apr 2021 10:00:48 +0000 (18:00 +0800)
commit97d50d2c6b80805cd7e513eeafc8b62fef4ab1b6
tree6445fe47925e949a55f5c9f4b6463d17953cc958
parent01a0ec3e6874bff1e17d9d2085d86d1ad03702f7
luci-theme-material: fix wrong active state on common prefix node

Before fixed, if we have two nodes: 'services/ddns' and 'services/ddnsto',
click any one of they, will show they all actived.

Signed-off-by: Liangbin Lian <jjm2473@gmail.com>
themes/luci-theme-material/htdocs/luci-static/material/js/script.js