Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/mono-tools.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/webdoc
diff options
context:
space:
mode:
authorNina Vyedin <nina.vyedin@gmail.com>2013-03-05 01:26:40 +0400
committerNina Vyedin <nina.vyedin@gmail.com>2013-03-05 07:58:46 +0400
commitcfa6962a915489489d43cba6f8e93e838b6484a9 (patch)
treefd315b660176305189fe01c936c3dc6c9cc26ca9 /webdoc
parent679e21f35ed596d3918ffa3a8402427545425444 (diff)
[webdoc] fix the sidebar 'scroll to top' behavior
Diffstat (limited to 'webdoc')
-rwxr-xr-xwebdoc/plugins/sidebar-plugin/dependencies/ptree/tree.js2
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);
}
};