mirror of
https://github.com/FoggedLens/iD.git
synced 2026-04-29 07:06:04 +02:00
scroll help to top when changing sections
This commit is contained in:
@@ -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')
|
||||
|
||||
Reference in New Issue
Block a user