Skip to content
Permalink
Browse files

Merge hotfix for bug 1077988: anchor regression

  • Loading branch information...
Pike committed Mar 31, 2015
2 parents 3049760 + ed9bd9a commit fddda1c12e4adfb453391c8f5aaa3dd510f5584d
Showing with 2 additions and 2 deletions.
  1. +2 −2 apps/shipping/static/shipping/js/team-page.js
@@ -6,7 +6,7 @@ $(function() {
// make the scroll tops of our application anchors show below the header
// shift down by offsetTop and header height
var off = $('.trees > thead').height() +
document.querySelector('.appname h2').offsetTop;
document.querySelector('.appname h3').offsetTop;
off += 'px';
$('.appname h2').css({'padding-top': off, 'margin-top': '-' + off});
$('.appname h3').css({'padding-top': off, 'margin-top': '-' + off});
});

0 comments on commit fddda1c

Please sign in to comment.
You can’t perform that action at this time.