From ff6bb9dacb283960065d10721d3032e17105a58a Mon Sep 17 00:00:00 2001 From: Bobby Date: Wed, 21 Sep 2022 05:55:26 +0700 Subject: [PATCH] feat: hide no-js page link from faq if disabled --- views/faq.njk | 2 ++ 1 file changed, 2 insertions(+) diff --git a/views/faq.njk b/views/faq.njk index 0adec71..0ff73d4 100644 --- a/views/faq.njk +++ b/views/faq.njk @@ -202,12 +202,14 @@ + {% if config.routes.nojs !== false -%}

Do you have a No-JS uploader form?

+ {%- endif %} {% if noJsMaxSizeInt and chunkSizeInt -%}

Why is the maximum file size in the No-JS uploader form smaller?