mirror of
https://github.com/zadam/trilium.git
synced 2025-02-20 21:13:11 +08:00
better detection of empty tooltip
This commit is contained in:
parent
ab26216cbe
commit
5872146172
1 changed files with 1 additions and 1 deletions
|
@ -96,7 +96,7 @@ async function renderTooltip(callback, note, attributes) {
|
|||
}
|
||||
// other types of notes don't have tooltip preview
|
||||
|
||||
if (!content.trim()) {
|
||||
if (!$(content).text().trim()) {
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue