diff --git a/quest/jinja2/quest/quest.html b/quest/jinja2/quest/quest.html index a30de9a..e43080e 100644 --- a/quest/jinja2/quest/quest.html +++ b/quest/jinja2/quest/quest.html @@ -27,10 +27,10 @@ {% endfor %} -
  • +
  • {% if request.session.get("hide_chat") == True %}←{% else %}→{% endif %}
  • {% endblock %} {% block content %} -
    +

    {{ quest.title }}

    {% for post in posts %} @@ -141,7 +141,7 @@
    {% endif %}
    -
    +

    Chat

    {% autoescape false %} diff --git a/quest/static/quest.js b/quest/static/quest.js index aa0aadc..dfdd152 100644 --- a/quest/static/quest.js +++ b/quest/static/quest.js @@ -251,11 +251,13 @@ function toggle_chat() { if (document.getElementById('chatPane').style.display == 'flex') { document.getElementById('chatPane').style.display = 'none'; document.getElementById('questPane').style.width = '100%'; + document.getElementById('toggleChat').firstChild.innerText = '←'; toggle_cookie('hide_chat', 'on'); } else { document.getElementById('chatPane').style.display = 'flex'; document.getElementById('questPane').style.width = '70%'; + document.getElementById('toggleChat').firstChild.innerText = '→'; toggle_cookie('hide_chat', 'off'); } }