From 13409389851f18530c1e27f472aa8d0385dd161e Mon Sep 17 00:00:00 2001 From: Per Qvarforth <per@qvarforth.se> Date: Tue, 2 Aug 2022 15:41:14 +0000 Subject: [PATCH] show about-page if js is disabled --- htdocs/public/index.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/htdocs/public/index.php b/htdocs/public/index.php index af9a6f5..9c54b60 100755 --- a/htdocs/public/index.php +++ b/htdocs/public/index.php @@ -315,7 +315,9 @@ <?php if ($view) : ?> <?php include($view); ?> <?php else: ?> - <?php include(ROOT . '/public/views/about.php'); ?> + <div id="td-modal-content-nojs"> + <?php include(ROOT . '/public/views/about.php'); ?> + </div> <?php endif; ?> </div> </div> -- GitLab