diff --git a/src/bundle/Resources/public/js/scripts/admin.location.content.tree.js b/src/bundle/Resources/public/js/scripts/admin.location.content.tree.js index 9a23544377..7f659a6302 100644 --- a/src/bundle/Resources/public/js/scripts/admin.location.content.tree.js +++ b/src/bundle/Resources/public/js/scripts/admin.location.content.tree.js @@ -13,6 +13,7 @@ const toggleContentTreePanel = () => { contentTreeContainer.classList.toggle(CLASS_CONTENT_TREE_EXPANDED); btn.classList.toggle(CLASS_BTN_CONTENT_TREE_EXPANDED); + updateContentTreeWrapperHeight(); localStorage.setItem(KEY_CONTENT_TREE_EXPANDED, contentTreeContainer.classList.contains(CLASS_CONTENT_TREE_EXPANDED)); };