From c3d4d0f547d1971f35b919a15ec65be548f2a52d Mon Sep 17 00:00:00 2001 From: Andrew Godwin Date: Sun, 4 Dec 2022 10:46:41 -0700 Subject: Image upload polishing and webp --- templates/activities/_image_uploaded.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'templates') 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)" }}

- Remove + Remove
{% 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 {% endif %} -- cgit v1.2.3