Skip to content

Commit 5b58c82

Browse files
fix: hx-boost on images
1 parent 82d1153 commit 5b58c82

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

web/views/partials/attachment-card.html

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{{if .IsImage}}
2-
<a href=" /files/{{.FileName}}" class="flex bg-pico-card shadow">
2+
<a href=" /files/{{.FileName}}" class="flex bg-pico-card shadow" hx-boost="false">
33
<img src="/files/{{.FileName}}" alt="{{.FileName}}" class="mx-auto">
44
</a>
55
{{end}}
@@ -19,7 +19,7 @@
1919
</a>
2020
</li>
2121
<li>
22-
<a role="button" href="/files/{{.FileName}}" class="flex flex-items-center gap-2">
22+
<a role="button" href="/files/{{.FileName}}" class="flex flex-items-center gap-2" hx-boost="false">
2323
<div class="i-ri-download-fill">
2424
</div>
2525
Download

0 commit comments

Comments
 (0)