diff --git a/services/web/frontend/js/ide/directives/layout.js b/services/web/frontend/js/ide/directives/layout.js index 2fb5da1f3e..4216eebbfb 100644 --- a/services/web/frontend/js/ide/directives/layout.js +++ b/services/web/frontend/js/ide/directives/layout.js @@ -220,7 +220,7 @@ aria-label=\"{{ isOpen ? tooltipMsgWhenOpen : tooltipMsgWhenClosed }}\">\ } function onPaneOpen(pane) { - if (!hasCustomToggler && pane !== customTogglerPane) { + if (!hasCustomToggler || pane !== customTogglerPane) { return } return customTogglerEl @@ -229,7 +229,7 @@ aria-label=\"{{ isOpen ? tooltipMsgWhenOpen : tooltipMsgWhenClosed }}\">\ } function onPaneClose(pane) { - if (!hasCustomToggler && pane !== customTogglerPane) { + if (!hasCustomToggler || pane !== customTogglerPane) { return } return customTogglerEl @@ -263,7 +263,7 @@ aria-label=\"{{ isOpen ? tooltipMsgWhenOpen : tooltipMsgWhenClosed }}\">\ } else { layout.close('east') } - if (hasCustomToggler) { + if (hasCustomToggler && customTogglerPane === 'east') { repositionCustomToggler() customTogglerEl.scope().$applyAsync(function () { customTogglerEl.scope().isOpen = value diff --git a/services/web/locales/en.json b/services/web/locales/en.json index fcfd59e202..0e143042ae 100644 --- a/services/web/locales/en.json +++ b/services/web/locales/en.json @@ -1824,9 +1824,9 @@ "toolbar_table_insert_table_lowercase": "Insert table", "toolbar_toggle_symbol_palette": "Toggle Symbol Palette", "toolbar_undo": "Undo", - "tooltip_hide_filetree": "Click to hide the file-tree", + "tooltip_hide_filetree": "Click to hide the file tree", "tooltip_hide_pdf": "Click to hide the PDF", - "tooltip_show_filetree": "Click to show the file-tree", + "tooltip_show_filetree": "Click to show the file tree", "tooltip_show_pdf": "Click to show the PDF", "top_pick": "Top pick", "total": "Total",