mirror of
https://github.com/NodeBB/NodeBB.git
synced 2026-03-06 20:41:17 +01:00
fix for acp subpage nav
This commit is contained in:
@@ -58,7 +58,9 @@
|
||||
}
|
||||
|
||||
function selectMenuItem(url) {
|
||||
url = url.replace(/\/\d+$/, '');
|
||||
url = url
|
||||
.replace(/\/\d+$/, '')
|
||||
.split('/').slice(0, 3).join('/');
|
||||
|
||||
// If index is requested, load the dashboard
|
||||
if (url === 'admin') {
|
||||
|
||||
Reference in New Issue
Block a user