diff --git a/package.json b/package.json index efa6a9c3..5a587055 100644 --- a/package.json +++ b/package.json @@ -25,6 +25,7 @@ "turndown-plugin-gfm": "^1.0.2" }, "devDependencies": { + "@alpinejs/csp": "^3.15.8", "@playwright/test": "^1.64.1", "@tailwindcss/forms": "^0.5.11", "@tailwindcss/typography": "^0.5.19", diff --git a/templates/admin.templ b/templates/admin.templ index 48260890..38b8c609 100644 --- a/templates/admin.templ +++ b/templates/admin.templ @@ -10,7 +10,7 @@ templ Admin(user User, stats AdminStats) { - + @Header(user, "/admin")
diff --git a/templates/audio_reader.templ b/templates/audio_reader.templ index 1bbfabcf..043a337c 100644 --- a/templates/audio_reader.templ +++ b/templates/audio_reader.templ @@ -246,7 +246,7 @@ templ AudioReader(user User, metadata ReaderMetadata) { :value="scrubbing ? scrubValue : currentTime" class="relative w-full" @input="scrubbing = true; scrubValue = Number($event.target.value)" - @change="seekTo(scrubValue); scrubbing = false" + @change="commitScrub()" aria-label="Seek position" /> @@ -395,7 +395,7 @@ templ AudioReader(user User, metadata ReaderMetadata) {