diff options
author | Nina Vyedin <nina.vyedin@gmail.com> | 2013-03-05 01:26:40 +0400 |
---|---|---|
committer | Nina Vyedin <nina.vyedin@gmail.com> | 2013-03-05 07:58:46 +0400 |
commit | cfa6962a915489489d43cba6f8e93e838b6484a9 (patch) | |
tree | fd315b660176305189fe01c936c3dc6c9cc26ca9 | |
parent | 679e21f35ed596d3918ffa3a8402427545425444 (diff) |
[webdoc] fix the sidebar 'scroll to top' behavior
-rwxr-xr-x | webdoc/plugins/sidebar-plugin/dependencies/ptree/tree.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/webdoc/plugins/sidebar-plugin/dependencies/ptree/tree.js b/webdoc/plugins/sidebar-plugin/dependencies/ptree/tree.js index 389be0dd..6e1da0d3 100755 --- a/webdoc/plugins/sidebar-plugin/dependencies/ptree/tree.js +++ b/webdoc/plugins/sidebar-plugin/dependencies/ptree/tree.js @@ -245,7 +245,7 @@ function PTree () root = node; if (i == elements.length - 1) { thisSave.SelectNode (node[0]); - var container = $('#contents').parent (); + var container = $('#contents').parent().parent(); container.scrollTop (node[0].offsetTop - 100); } }; |