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:
parent
7220af3ef0
commit
12e302c10a
@ -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() {
|
||||
|
Loading…
Reference in New Issue
Block a user