bug fixes

This commit is contained in:
undefined committed 2025-03-28 09:41:45 +08:00
1 parent 56311e1209
commit ec23e81f8e
18 files changed
+90 -72

No files matched your search

@@ -48,8 +48,8 @@
<script>
var _htmlNode = document.documentElement;
_htmlNode.className = _htmlNode.className.replace(' nojs', ' hasjs');
var UiContext = '{{ UiContext|json|jsesc|safe }}';
var UserContext = '{{ UserContext|json|jsesc|safe }}';
window.UiContext = '{{ UiContext|json|jsesc|safe }}';
window.UserContext = '{{ UserContext|json|jsesc|safe }}';
</script>
{% endif %}
{% set UiContext = Object.create(UiContext) %}
@@ -65,8 +65,8 @@
{% block script %}{% endblock %}
{% if not isIE(handler.request.headers['user-agent']) and not handler.session.legacy %}
<script>
var UiContextNew = '{{ UiContext|json|jsesc|safe }}';
var UserContextNew = '{{ UserContext|json|jsesc|safe }}';
window.UiContextNew = '{{ UiContext|json|jsesc|safe }}';
window.UserContextNew = '{{ UserContext|json|jsesc|safe }}';
</script>
{% endif %}
</body>