diff --git a/brutaldon/static/js/brutaldon-enhancements.js b/brutaldon/static/js/brutaldon-enhancements.js index 365070b..1bf83c4 100644 --- a/brutaldon/static/js/brutaldon-enhancements.js +++ b/brutaldon/static/js/brutaldon-enhancements.js @@ -152,22 +152,3 @@ function characterCount() return $("#id_status").val().length + $("#id_spoiler_text").val().length; } -function savePlace() -{ - sessionStorage.setItem("lastScrollPos", window.scrollY); - return true; -} - -function restorePlace(ev) -{ - var lastScrollPos = sessionStorage.getItem('lastScrollPos'); - Intercooler.ready(function (elt) - { - if (elt[0].id == 'main') - { - window.scrollTo(0, lastScrollPos); - } - $('#page-load-indicator').hide(); - }); - return false; -} diff --git a/brutaldon/templates/base.html b/brutaldon/templates/base.html index b402c27..78836dd 100644 --- a/brutaldon/templates/base.html +++ b/brutaldon/templates/base.html @@ -59,15 +59,7 @@ {% endblock %} -
+
{% block content %}

@@ -248,8 +182,6 @@