diff --git a/view/tpl/jot-header.tpl b/view/tpl/jot-header.tpl index 80f69a3ce..21c35104a 100755 --- a/view/tpl/jot-header.tpl +++ b/view/tpl/jot-header.tpl @@ -819,16 +819,9 @@ let postSaveTimer = null; //case "text/html": //case "text/vnd.abc": these 2 don't work, they open the download dialog case "text/plain": - {{* let sendplain = `/cloud/${address}/${result.display_path}`; *}} - let sendplain = `/store/${result.os_path}.thumb`; - {{* alert(sendplain); - let plainTmb = createEmbedThumbnail(sendplain); - alert(plainTmb); - return; *}} - {{*return`
  • ${result.filename}{{$clicktitle}}

  • `; *}} - - return`
  • ${result.filename}{{$clicktitle}}

  • `; - default: + let sendplain = `/cloud/${address}/${result.display_path}`; + return`
  • ${result.filename}{{$clicktitle}}

  • `; + default: return; } }