mirror of
https://gitcode.com/gh_mirrors/hy/Hydro.git
synced 2026-10-20 01:38:19 +08:00
bug fixes
This commit is contained in:
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>
|
||||
|
||||
Reference in new issue
Block a user