aboutsummaryrefslogtreecommitdiff
path: root/src/routes
diff options
context:
space:
mode:
authorFuwn <[email protected]>2024-02-03 09:01:43 -0800
committerFuwn <[email protected]>2024-02-03 09:01:43 -0800
commit51ce2d271aaf8d35b4728f689c4d725eff9ccd99 (patch)
tree6c1964df97fc233da4409a44a4245f23d0582c62 /src/routes
parentfix(reader): trailing slash for manga (diff)
downloaddue.moe-51ce2d271aaf8d35b4728f689c4d725eff9ccd99.tar.xz
due.moe-51ce2d271aaf8d35b4728f689c4d725eff9ccd99.zip
feat(inputtemplate): preserve case
Diffstat (limited to 'src/routes')
-rw-r--r--src/routes/reader/+page.svelte2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/routes/reader/+page.svelte b/src/routes/reader/+page.svelte
index 3bdebe5f..d591f0e1 100644
--- a/src/routes/reader/+page.svelte
+++ b/src/routes/reader/+page.svelte
@@ -6,7 +6,7 @@
$: mangaDexID = submission.match(/mangadex\.org\/title\/([a-f0-9-]+)\/?/)?.[1];
</script>
-<InputTemplate field="MangaDex URL" bind:submission submitText="Read">
+<InputTemplate field="MangaDex URL" bind:submission submitText="Read" preserveCase>
{#if mangaDexID}
{#await fetch(`https://api.mangadex.org/manga/${mangaDexID}/feed?order[chapter]=desc&translatedLanguage[]=en`) then response}
{#if response.ok}