fix scroll position

git-svn-id: file:///root/webif/svn/humax/pkg/src/webif/trunk@1805 2a923420-c742-0410-a762-8d5b09965624
This commit is contained in:
hummypkg 2014-02-23 22:47:01 +00:00
parent 3416d4e9e2
commit a087581573
1 changed files with 3 additions and 1 deletions

View File

@ -22,7 +22,9 @@ $('table.weekview').freezeHeader();
$('#jumptonow').bind('click', function() {
var hour = $(this).attr('hour');
$('body').scrollTo('#hour_' + hour);
$('body').scrollTo('#hour_' + hour, 500, {
offset: {top: -50, left: 0}
});
});
});