userpage: use window.pages.MyAccount instead of
window.location.pathname fixes #418 hopefully.
This commit is contained in:
+2
-1
@@ -24,7 +24,8 @@ interface userWindow extends GlobalWindow {
|
||||
|
||||
declare var window: userWindow;
|
||||
|
||||
const basePath = window.location.pathname.replace("/password/reset", "");
|
||||
// const basePath = window.location.pathname.replace("/password/reset", "");
|
||||
const basePath = window.pages.MyAccount;
|
||||
|
||||
const theme = new ThemeManager(document.getElementById("button-theme"));
|
||||
|
||||
|
||||
Reference in New Issue
Block a user