mirror of
https://github.com/zadam/trilium.git
synced 2025-06-06 18:08:33 +02:00
better detection of empty tooltip
This commit is contained in:
parent
ab26216cbe
commit
5872146172
@ -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…
x
Reference in New Issue
Block a user