Vanessa 2025-06-21 10:52:17 +08:00
parent 8c6fdd2a14
commit 0f94a9e618
3 changed files with 10 additions and 3 deletions

View file

@ -435,7 +435,7 @@ ${genHintItemHTML(item)}
if (!cellElement) {
return;
}
const rowElement = hasClosestByClassName(cellElement, "av__row");
const rowElement = hasClosestByClassName(cellElement, nodeElement.getAttribute("data-av-type") === "table" ? "av__row" : "av__gallery-item");
if (!rowElement) {
return;
}