This commit is contained in:
juanatsap
2025-11-15 15:59:54 +00:00
parent aeab81dd42
commit 1f7757c848
39 changed files with 3781 additions and 797 deletions
+16 -2
View File
@@ -105,8 +105,20 @@
</script>
</head>
<body {{if .ThemeClean}}class="theme-clean"{{end}}
_="init call initScrollBehavior() end
on scroll from window call handleScroll() end">
_="on load call initScrollBehavior()
on scroll from window call handleScroll()
on keydown
if event.key is '?' and not event.ctrlKey and not event.metaKey and not event.altKey
set tagName to event.target.tagName
if tagName is not 'INPUT' and tagName is not 'TEXTAREA'
halt the event
set modal to #shortcuts-modal
if modal
call modal.showModal()
end
end
end
end">
<!-- Top anchor for back-to-top link -->
<div id="top"></div>
@@ -126,7 +138,9 @@
{{template "error-toast" .}}
{{template "back-to-top" .}}
{{template "info-button" .}}
{{template "shortcuts-button" .}}
{{template "info-modal" .}}
{{template "shortcuts-modal" .}}
{{template "pdf-modal" .}}
{{template "zoom-control" .}}