mirror of
https://github.com/node-red/node-red.git
synced 2023-10-10 13:36:53 +02:00
Scroll sidebar info tab to top when changing content
This commit is contained in:
parent
6bd59b10c7
commit
65e27a268d
@ -352,6 +352,7 @@ RED.sidebar.info = (function() {
|
|||||||
nodeSection.container.hide();
|
nodeSection.container.hide();
|
||||||
$(infoSection.content).empty();
|
$(infoSection.content).empty();
|
||||||
setInfoText(html);
|
setInfoText(html);
|
||||||
|
$(".sidebar-node-info-stack").scrollTop(0);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user