fallback, .10
This commit is contained in:
parent
4f91798fa8
commit
ef50eb3e64
|
@ -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",
|
||||||
|
|
|
@ -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));
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in New Issue