From b39d6498e69bc16266d7caaa231c1c6e87539a0a Mon Sep 17 00:00:00 2001 From: Ansis Brammanis Date: Thu, 28 Mar 2013 16:19:38 -0400 Subject: [PATCH] scroll help to top when changing sections --- js/id/ui/help.js | 1 + 1 file changed, 1 insertion(+) diff --git a/js/id/ui/help.js b/js/id/ui/help.js index d7881d758..f0ab47165 100644 --- a/js/id/ui/help.js +++ b/js/id/ui/help.js @@ -15,6 +15,7 @@ iD.ui.Help = function(context) { .attr('class', 'toc'); function clickHelp(d, i) { + pane.property('scrollTop', 0); doctitle.text(d.title); body.html(d.html); body.selectAll('a')