chore: fix frontend lint

This commit is contained in:
Oleg Lobanov
2024-08-18 13:51:16 +02:00
parent 090272e3b7
commit 83898d616f
9 changed files with 53 additions and 50 deletions

View File

@@ -413,7 +413,7 @@ const toggleNavigation = throttle(function () {
clearTimeout(navTimeout.value);
}
navTimeout.value = setTimeout(() => {
navTimeout.value = window.setTimeout(() => {
showNav.value = false || hoverNav.value;
navTimeout.value = null;
}, 1500);

View File

@@ -273,7 +273,7 @@ const formattedChunkSize = computed({
}
// Set a new timeout to apply the format after a short delay
debounceTimeout.value = setTimeout(() => {
debounceTimeout.value = window.setTimeout(() => {
if (settings.value) settings.value.tus.chunkSize = parseBytes(value);
}, 1500);
},