mirror of
https://iceshrimp.dev/limepotato/jormungandr-bite.git
synced 2025-03-04 07:18:50 -07:00
chore: formatting
This commit is contained in:
parent
7643ea1f81
commit
df30c817e0
1 changed files with 6 additions and 5 deletions
|
@ -331,10 +331,11 @@ async function startGroup(): void {
|
|||
|
||||
onMounted(() => {
|
||||
if (!isDesktop.value) {
|
||||
matchMedia(`(min-width: ${DESKTOP_THRESHOLD - 1}px)`).onchange = (mql) => {
|
||||
if (mql.matches)
|
||||
isDesktop.value = true;
|
||||
}
|
||||
matchMedia(`(min-width: ${DESKTOP_THRESHOLD - 1}px)`).onchange = (
|
||||
mql
|
||||
) => {
|
||||
if (mql.matches) isDesktop.value = true;
|
||||
};
|
||||
}
|
||||
});
|
||||
|
||||
|
@ -392,7 +393,7 @@ const attachSticky = (el: any) => {
|
|||
} else {
|
||||
widgetsEl.classList.add("hide-scrollbar");
|
||||
}
|
||||
}
|
||||
};
|
||||
};
|
||||
|
||||
function top() {
|
||||
|
|
Loading…
Add table
Reference in a new issue