diff --git a/brutaldon/static/js/brutaldon-enhancements.js b/brutaldon/static/js/brutaldon-enhancements.js index 957447f..9dc95e5 100644 --- a/brutaldon/static/js/brutaldon-enhancements.js +++ b/brutaldon/static/js/brutaldon-enhancements.js @@ -11,7 +11,6 @@ function setTitle(user, page) function afterPage(user, page) { - scrollTop(); setTitle(user,page); var menu = document.querySelector('#navMenu'); menu.classList.remove('is-active'); diff --git a/brutaldon/templates/base.html b/brutaldon/templates/base.html index e16f554..eee5590 100644 --- a/brutaldon/templates/base.html +++ b/brutaldon/templates/base.html @@ -44,7 +44,8 @@ {% endif %}
+ ic-global-include='{"csrfmiddlewaretoken": "{{ csrf_token }}"}' + ic-history-elt="true"> {% block navbar %} {% endblock %}