diff --git a/view/tpl/jot-header.tpl b/view/tpl/jot-header.tpl index bf2630743..3329d6255 100755 --- a/view/tpl/jot-header.tpl +++ b/view/tpl/jot-header.tpl @@ -799,7 +799,7 @@ let postSaveTimer = null; case "image/gif": //case "image/svg+xml": not working let send = `[img]${baseurl}/cloud/${address}/${result.display_path}[/img]`; - document.getElementById(`"embedFiles_${result.id}"`).addEventListener("click", function() { setEmbedFiles(send); }); + document.getElementById(`embedFiles_${result.id}`).addEventListener("click", function() { setEmbedFiles(send); }); /* test(result); */ return `
  • `; case "video/mp4":