fix(reader): fix multi-statement click handler syntax in PDF reader

This commit is contained in:
neon
2025-12-29 11:38:44 -06:00
parent 98bb29a519
commit 5a5bd6ad4d
2 changed files with 5 additions and 8 deletions
@@ -419,10 +419,7 @@ const progressPct = computed(() => (totalPages.value ? Math.round((currentPage.v
<span v-if="findQuery" class="text-xs text-white/40 tabular-nums shrink-0">{{ findMatches }} match{{ findMatches !== 1 ? 'es' : '' }}</span>
<button
class="pdf-btn w-6 h-6"
@click="
showFind = false
findQuery = ''
"
@click="showFind = false; findQuery = ''"
>
<X :size="12" />
</button>
+4 -4
View File
@@ -5,28 +5,28 @@
{
"idx": 0,
"version": "7",
"when": 1766937175999,
"when": 1767076603428,
"tag": "0000_init_schema",
"breakpoints": true
},
{
"idx": 1,
"version": "7",
"when": 1766937175999,
"when": 1767076603428,
"tag": "0001_lethal_pixie",
"breakpoints": true
},
{
"idx": 2,
"version": "7",
"when": 1766937175999,
"when": 1767076603428,
"tag": "0002_powerful_thundra",
"breakpoints": true
},
{
"idx": 3,
"version": "7",
"when": 1766937175999,
"when": 1767076603428,
"tag": "0003_reading_progress_by_file",
"breakpoints": true
}