This commit is contained in:
Vanessa 2023-11-25 17:10:06 +08:00
parent 320110d57e
commit 4cd93b0fec
10 changed files with 15 additions and 8 deletions

View file

@ -35,9 +35,9 @@ const renderCompare = (app: App, element: HTMLElement) => {
if (!listElement) {
return;
}
const dialogContainerElement = hasClosestByClassName(element, "b3-dialog__container")
const dialogContainerElement = hasClosestByClassName(element, "b3-dialog__container");
if (!dialogContainerElement) {
return
return;
}
const leftElement = listElement.nextElementSibling.firstElementChild;
const rightElement = listElement.nextElementSibling.lastElementChild;