mirror of
https://github.com/NodeBB/NodeBB.git
synced 2026-07-14 21:52:40 +02:00
Fix ACP title bug with hashes (#5331)
This commit is contained in:
committed by
Julian Lam
parent
a08474a9fd
commit
cb82824c13
@@ -87,7 +87,7 @@
|
||||
url = url
|
||||
.replace(/\/\d+$/, '')
|
||||
.split('/').slice(0, 3).join('/')
|
||||
.split('?')[0].replace(/(\/+$)|(^\/+)/, '');
|
||||
.split(/[?#]/)[0].replace(/(\/+$)|(^\/+)/, '');
|
||||
|
||||
// If index is requested, load the dashboard
|
||||
if (url === 'admin') {
|
||||
|
||||
Reference in New Issue
Block a user