mirror of
https://github.com/zadam/trilium.git
synced 2025-11-02 11:26:15 +01:00
better detection of empty tooltip
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user