From: ArthurHoaro Date: Fri, 25 Aug 2017 17:15:24 +0000 (+0200) Subject: Merge pull request #934 from thewilli/fix-note-bookmarklet X-Git-Tag: v0.9.4~7^2~15 X-Git-Url: https://git.immae.eu/?a=commitdiff_plain;h=c4ac70acbbaa0031607005f7e867f474ec479a8c;hp=2a1292359b79ec77257583ea9d97891dfd2ddb1b;p=github%2Fshaarli%2FShaarli.git Merge pull request #934 from thewilli/fix-note-bookmarklet fixed note bookmarklet --- diff --git a/tpl/default/tools.html b/tpl/default/tools.html index 35173d17..72fd58af 100644 --- a/tpl/default/tools.html +++ b/tpl/default/tools.html @@ -97,7 +97,7 @@ var%20desc=document.getSelection().toString(); if(desc.length>4000){ desc=desc.substr(0,4000)+'...'; - alert("{function="str_replace(' ', '%20', t('The selected text is too long, it will be truncated.'))"}"); + alert('{function="str_replace(' ', '%20', t('The selected text is too long, it will be truncated.'))"}'); } window.open( '{$pageabsaddr}?private=1&post='+