mirror of
https://github.com/ranaldsgift/KefinTweaks.git
synced 2026-11-05 15:52:47 +01:00
New feature: Skin Manager, also minor fixes and improvements
This commit is contained in:
1 parent
0ffc967d8d
commit
629f524b4c
24 files changed
+6166
-4013
No files matched your search
@@ -20,7 +20,8 @@
|
||||
console.log("[DashboardButtonFix]: No history to go back. Redirecting to home page.");
|
||||
|
||||
// Changes this to the page you'd like to return to by default
|
||||
Dashboard.navigate('/home.html');
|
||||
const homeUrl = ApiClient.serverVersion().split('.')[1] > 10 ? 'home' : 'home.html';
|
||||
Dashboard.navigate(`/${homeUrl}`);
|
||||
}
|
||||
}, true);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user