From 65e27a268d51e758707d019e1081c6e06d3c91b1 Mon Sep 17 00:00:00 2001 From: Nick O'Leary Date: Wed, 24 May 2017 21:41:18 +0100 Subject: [PATCH] Scroll sidebar info tab to top when changing content --- editor/js/ui/tab-info.js | 1 + 1 file changed, 1 insertion(+) diff --git a/editor/js/ui/tab-info.js b/editor/js/ui/tab-info.js index feea8c5dc..d7e876e1c 100644 --- a/editor/js/ui/tab-info.js +++ b/editor/js/ui/tab-info.js @@ -352,6 +352,7 @@ RED.sidebar.info = (function() { nodeSection.container.hide(); $(infoSection.content).empty(); setInfoText(html); + $(".sidebar-node-info-stack").scrollTop(0); }