Fix ACP title bug with hashes (#5331)

v1.18.x
Peter Jaszkowiak 8 years ago 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') {

Loading…
Cancel
Save