summaryrefslogtreecommitdiffstats
path: root/templates/activities
diff options
context:
space:
mode:
authorAndrew Godwin2022-12-04 10:46:41 -0700
committerAndrew Godwin2022-12-04 10:46:41 -0700
commitc3d4d0f547d1971f35b919a15ec65be548f2a52d (patch)
tree379466af391dac607dc667fb015a36e37a070a5b /templates/activities
parentffda9c4913370ee84fa156e4fff07913b6d9448f (diff)
downloadtakahe-c3d4d0f547d1971f35b919a15ec65be548f2a52d.tar.gz
takahe-c3d4d0f547d1971f35b919a15ec65be548f2a52d.tar.bz2
takahe-c3d4d0f547d1971f35b919a15ec65be548f2a52d.zip
Image upload polishing and webp
Diffstat (limited to 'templates/activities')
-rw-r--r--templates/activities/_image_uploaded.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/templates/activities/_image_uploaded.html b/templates/activities/_image_uploaded.html
index ad03120..6821328 100644
--- a/templates/activities/_image_uploaded.html
+++ b/templates/activities/_image_uploaded.html
@@ -5,7 +5,7 @@
{{ attachment.name|default:"(no description)" }}
</p>
<div class="buttons">
- <a class="button delete left" _="on click remove closest .uploaded_image">Remove</a>
+ <a class="button delete left" _="on click remove closest .uploaded-image">Remove</a>
</div>
</div>
{% if request.htmx %}
@@ -13,7 +13,7 @@
hx-get='{% url "compose_image_upload" %}'
hx-target="this"
hx-swap="outerHTML"
- _="on load if beep! length of beep! <.uploaded-image/> > 3 then hide me">
+ _="on load if length of <.uploaded-image/> > 3 then hide me">
Add Image
</a>
{% endif %}