From 409fbdf24afbafd0b48753b37404256b7157ea46 Mon Sep 17 00:00:00 2001 From: discomrade Date: Thu, 11 Nov 2021 13:07:32 -0100 Subject: [PATCH] Make file-selector.js inline call conditional --- templates/post_form.html | 3 +++ 1 file changed, 3 insertions(+) diff --git a/templates/post_form.html b/templates/post_form.html index cff1c03a..1d77443a 100644 --- a/templates/post_form.html +++ b/templates/post_form.html @@ -148,7 +148,10 @@ + {% if 'js/file-selector.js' in config.additional_javascript %} + {% endif %} + {% if config.allow_upload_by_url %}