diff --git a/editor/js/ui/palette-editor.js b/editor/js/ui/palette-editor.js index 310e07539..2e67ea7ab 100644 --- a/editor/js/ui/palette-editor.js +++ b/editor/js/ui/palette-editor.js @@ -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() {