Hide Node info section when displaying changelog

This commit is contained in:
Nick O'Leary 2017-04-07 12:36:06 +01:00
parent ede940a398
commit ea929b00e3
No known key found for this signature in database
GPG Key ID: 4F2157149161A6C9
1 changed files with 2 additions and 2 deletions

View File

@ -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 = $('<div class="node-info-tips"></div>').appendTo(content);
var tipContainer = $('<div class="node-info-tips"></div>').appendTo(content);
tipBox = $('<div class="node-info-tip"></div>').appendTo(tipContainer);
var tipButtons = $('<div class="node-info-tips-buttons"></div>').appendTo(tipContainer);
@ -306,6 +305,7 @@ RED.sidebar.info = (function() {
function set(html) {
// tips.stop();
sections.show();
nodeSection.container.hide();
$(infoSection.content).html(html);
}