From 1794d95315cebad366c23df3c5a20d397d4884e3 Mon Sep 17 00:00:00 2001 From: Sanj Date: Wed, 18 Jan 2012 15:55:55 +0530 Subject: [PATCH] scrollTo behaviour --- itf/static/js/insidepage.js | 2 +- itf/templates/modules/emailer/emailerissue.html | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/itf/static/js/insidepage.js b/itf/static/js/insidepage.js index 3c4de23..d8ba4c7 100755 --- a/itf/static/js/insidepage.js +++ b/itf/static/js/insidepage.js @@ -65,7 +65,7 @@ function postLoadQuery() { if (queryData.hasOwnProperty("goto")) { var locationHash = queryData['goto']; var scrollTop = $('a[name=' + locationHash + ']').position().top; - $(document).scrollTop(scrollTop + 400); //FIXME!! + $(window).scrollTop(scrollTop); //FIXME!! delete queryData['goto']; } /* diff --git a/itf/templates/modules/emailer/emailerissue.html b/itf/templates/modules/emailer/emailerissue.html index d2badd3..7ec4fb9 100755 --- a/itf/templates/modules/emailer/emailerissue.html +++ b/itf/templates/modules/emailer/emailerissue.html @@ -111,7 +111,7 @@ association of theatre people coming together in the larger interests of theatre
{% load comments %}

Comments and Feedback

- + {% get_comment_list for issue as comment_list %} {% ifnotequal comment_list|length 0 %} @@ -133,6 +133,7 @@ association of theatre people coming together in the larger interests of theatre {% get_comment_form for issue as form %}
+

Leave a Response: