Merge remote-tracking branch 'origin/stable'

This commit is contained in:
zadam
2020-03-21 10:05:15 +01:00

View File

@@ -20,7 +20,9 @@ async function getRenderedContent(note) {
$rendered = $("<pre>").text(fullNote.content);
}
else if (type === 'image') {
$rendered = $("<img>").attr("src", `api/images/${note.noteId}/${note.title}`);
$rendered = $("<img>")
.attr("src", `api/images/${note.noteId}/${note.title}`)
.css("max-width", "100%");
}
else if (type === 'file') {
function getFileUrl() {