aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorFuwn <[email protected]>2023-12-09 22:12:39 -0800
committerFuwn <[email protected]>2023-12-09 22:12:39 -0800
commit2c23c2e23af8a64b0247f8e996ada57e282ee42e (patch)
tree49c66cc9b3d8550ee7c5c11d76925f613ac093de /src
parentfeat(settings): option disable panels (diff)
downloaddue.moe-2c23c2e23af8a64b0247f8e996ada57e282ee42e.tar.xz
due.moe-2c23c2e23af8a64b0247f8e996ada57e282ee42e.zip
fix: eslint lints
Diffstat (limited to 'src')
-rw-r--r--src/routes/+page.svelte3
-rw-r--r--src/stores/settings.ts3
2 files changed, 2 insertions, 4 deletions
diff --git a/src/routes/+page.svelte b/src/routes/+page.svelte
index 9b39407c..f7312138 100644
--- a/src/routes/+page.svelte
+++ b/src/routes/+page.svelte
@@ -125,12 +125,9 @@
<div style="width: 82.5vw; height: 92.5vh; float: none; clear: both; margin: auto auto;">
<embed
src="https://www.youtube.com/embed/rkmYIGFWNz8?autohide=1&autoplay=1"
- wmode="transparent"
type="video/mp4"
width="100%"
height="100%"
- allow="autoplay; encrypted-media; picture-in-picture"
- allowfullscreen
/>
</div>
{/if}
diff --git a/src/stores/settings.ts b/src/stores/settings.ts
index 351ff21c..ca081058 100644
--- a/src/stores/settings.ts
+++ b/src/stores/settings.ts
@@ -25,7 +25,8 @@ export interface Settings {
disableManga: boolean;
disableAnime: boolean;
disableUpcomingAnime: boolean;
- [key: string]: unknown;
+ // eslint-disable-next-line @typescript-eslint/no-explicit-any
+ [key: string]: any;
}
const defaultSettings: Settings = {