ui: allow manually set legacy mode

This commit is contained in:
undefined committed 2023-01-10 05:20:23 +08:00
1 parent e5de4f101b
commit cca5cb895e
6 files changed
+32 -18

No files matched your search

@@ -1,5 +1,5 @@
{% macro render() %}
{% if not isIE(handler.request.headers['user-agent']) %}
{% if not isIE(handler.request.headers['user-agent']) and not handler.session.legacy %}
<noscript><div class="section__body no-padding">
<blockquote class="warn">
<p>{{ _('This page needs JavaScript to work.') }}</p>