1
0
mirror of https://github.com/node-red/node-red.git synced 2023-10-10 13:36:53 +02:00

Collapse palette modules when palette-editor closed

This commit is contained in:
Nick O'Leary 2016-08-04 22:28:56 +01:00
parent 7220af3ef0
commit 12e302c10a

View File

@ -155,6 +155,10 @@ RED.palette.editor = (function() {
$("#header-shade").hide();
$("#editor-shade").hide();
$("#sidebar-shade").hide();
$("#palette-editor").find('.expanded').each(function(i,el) {
$(el).find(".palette-module-content").slideUp();
$(el).removeClass('expanded');
});
}
function init() {