Switch away from help tab when help sidebar becomes visible
This commit is contained in:
parent
8401cd0d14
commit
a9fa756878
1 changed files with 3 additions and 0 deletions
|
@ -41,6 +41,9 @@ $(document).ready(function () {
|
|||
$(".richtext_container .richtext_help_sidebar:visible:empty").each(function () {
|
||||
var container = $(this).closest(".richtext_container");
|
||||
container.find(".tab-pane[id$='_help']").children().appendTo($(this));
|
||||
if (container.find("button[data-bs-target$='_help'].active").length) {
|
||||
container.find("button[data-bs-target$='_edit']").tab("show");
|
||||
}
|
||||
});
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue