fallback, .10

This commit is contained in:
ThatOneCalculator 2022-11-07 00:31:47 -08:00
parent 4f91798fa8
commit ef50eb3e64
2 changed files with 2 additions and 2 deletions

View file

@ -1,6 +1,6 @@
{ {
"name": "calckey", "name": "calckey",
"version": "12.119.0-calc.9.1", "version": "12.119.0-calc.10",
"codename": "aqua", "codename": "aqua",
"repository": { "repository": {
"type": "git", "type": "git",

View file

@ -138,7 +138,7 @@ mainRouter.on('change', () => {
console.log(routerState); console.log(routerState);
const bottomButtons = ['index', 'notifications', 'messaging']; const bottomButtons = ['index', 'notifications', 'messaging'];
bottomButtons.forEach(i => { bottomButtons.forEach(i => {
if (routerState?.includes(i)) { if (routerState?.includes(i) || window.location.href.includes(i)) {
buttonAnimIndex.value = bottomButtons.findIndex(j => j.includes(i)); buttonAnimIndex.value = bottomButtons.findIndex(j => j.includes(i));
} }
}); });