diff --git a/app/src/block/popover.ts b/app/src/block/popover.ts index 1d973de7b..de0fc298b 100644 --- a/app/src/block/popover.ts +++ b/app/src/block/popover.ts @@ -46,7 +46,7 @@ export const initBlockPopover = (app: App) => { } } } else if (aElement.classList.contains("av__celltext--url")) { - tip = `${tip.substring(0, Constants.SIZE_TITLE)}
${aElement.getAttribute("data-name")}`; + tip = tip ? `${tip.substring(0, Constants.SIZE_TITLE)}
${aElement.getAttribute("data-name")}` : aElement.getAttribute("data-name"); } else if (aElement.classList.contains("av__calc--ashow") && aElement.clientWidth + 2 < aElement.scrollWidth) { tip = aElement.lastChild.textContent + " " + aElement.firstElementChild.textContent; }