Skip to content

Commit

Permalink
🎨 #9751
Browse files Browse the repository at this point in the history
  • Loading branch information
Vanessa219 committed Nov 30, 2023
1 parent 76822c6 commit 33585ae
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions app/src/protyle/render/av/action.ts
Original file line number Diff line number Diff line change
Expand Up @@ -241,6 +241,7 @@ export const avClick = (protyle: IProtyle, event: MouseEvent & { target: HTMLEle
return true;
} else if (target.classList.contains("item") && target.parentElement.classList.contains("layout-tab-bar")) {
if (!target.classList.contains("item--focus")) {
blockElement.removeAttribute("data-render");
avRender(blockElement, protyle, undefined, target.dataset.id);
}
event.preventDefault();
Expand Down

0 comments on commit 33585ae

Please sign in to comment.