mirror of
https://github.com/hrfee/jfa-go.git
synced 2026-01-18 16:47:42 +01:00
admin: fix pseudo-urls again
This commit is contained in:
@@ -179,7 +179,7 @@ for (let tab of tabs) {
|
||||
|
||||
let matchedTab = false
|
||||
for (const tab of tabs) {
|
||||
if (window.location.pathname.startsWith(window.pages.Current + "/" + tab.url)) {
|
||||
if (window.location.pathname.startsWith(window.pages.Base + window.pages.Current + "/" + tab.url)) {
|
||||
window.tabs.switch(tab.url, true);
|
||||
matchedTab = true;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user