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
1 changed files with 1 additions and 0 deletions

View File

@ -352,6 +352,7 @@ RED.sidebar.info = (function() {
nodeSection.container.hide();
$(infoSection.content).empty();
setInfoText(html);
$(".sidebar-node-info-stack").scrollTop(0);
}