1
0
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:
Nick O'Leary 2017-05-24 21:41:18 +01:00
parent 6bd59b10c7
commit 65e27a268d
No known key found for this signature in database
GPG Key ID: 4F2157149161A6C9

View File

@ -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);
} }