From ea929b00e33f1e92021a74eff9aad7b42a00ad42 Mon Sep 17 00:00:00 2001 From: Nick O'Leary Date: Fri, 7 Apr 2017 12:36:06 +0100 Subject: [PATCH] Hide Node info section when displaying changelog --- editor/js/ui/tab-info.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/editor/js/ui/tab-info.js b/editor/js/ui/tab-info.js index 6ff3686e5..0e676bb11 100644 --- a/editor/js/ui/tab-info.js +++ b/editor/js/ui/tab-info.js @@ -31,7 +31,6 @@ RED.sidebar.info = (function() { var nodeSection; var infoSection; var tipBox; - var tipContainer; var expandedSections = { "property": false @@ -61,7 +60,7 @@ RED.sidebar.info = (function() { infoSection.content.css("padding","6px"); infoSection.container.css("border-bottom","none"); - tipContainer = $('
').appendTo(content); + var tipContainer = $('
').appendTo(content); tipBox = $('
').appendTo(tipContainer); var tipButtons = $('
').appendTo(tipContainer); @@ -306,6 +305,7 @@ RED.sidebar.info = (function() { function set(html) { // tips.stop(); sections.show(); + nodeSection.container.hide(); $(infoSection.content).html(html); }