--- misc/tableheader.js.o 2009-02-05 02:19:12.000000000 +0200 +++ misc/tableheader.js 2009-02-05 02:22:22.000000000 +0200 @@ -70,8 +70,12 @@ // Get the height of the header table and scroll up that amount. if (prevAnchor != location.hash) { if (location.hash != '') { - var scrollLocation = $('td'+ location.hash).offset().top - $(e).height(); - $('body, html').scrollTop(scrollLocation); + var offset = $('td' + location.hash).offset(); + if (offset) { + var top = offset.top; + var scrollLocation = top - $(e).height(); + $('body, html').scrollTop(scrollLocation); + } } prevAnchor = location.hash; }