mitigation of tooltip flicker by making tooltip smaller

This commit is contained in:
azivner
2018-11-14 10:36:14 +01:00
parent fc9495bcdf
commit 7be85acf11
2 changed files with 8 additions and 3 deletions

View File

@@ -106,7 +106,6 @@ async function renderTooltip(note, attributes) {
else if (note.type === 'image') {
content += $("<img>")
.prop("src", `/api/images/${note.noteId}/${note.title}`)
.prop("style", "max-width: 300px; max-height: 300px;")
.prop('outerHTML');
}
// other types of notes don't have tooltip preview