]> granicus.if.org Git - docbook-dsssl/commitdiff
Webhelp: Arun's fix for bug where heading was partially hidden by header in some...
authorDavid Cramer <david@thingbag.net>
Wed, 9 May 2012 03:27:20 +0000 (03:27 +0000)
committerDavid Cramer <david@thingbag.net>
Wed, 9 May 2012 03:27:20 +0000 (03:27 +0000)
xsl/webhelp/template/common/main.js

index 83f58e43264f0fadcacb183164ba95c9172f0033..714cdeec31bbd184a61e8fafee89148c7d161c2f 100644 (file)
@@ -81,7 +81,7 @@ $(document).ready(function() {
     // you click on a link from another page. 
     var hash = window.location.hash;
     if(hash){ 
-       var targetOffset = $(hash).offset().top - 105;
+       var targetOffset = $(hash).offset().top - 120;
        $('html,body').animate({scrollTop: targetOffset}, 200);
        return false;
     }