diff options
author | ArthurHoaro <arthur@hoa.ro> | 2017-08-25 19:15:24 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-08-25 19:15:24 +0200 |
commit | c4ac70acbbaa0031607005f7e867f474ec479a8c (patch) | |
tree | 11cf0d4b890379a37bccafc695c679b0054d0dd8 /tpl/default/tools.html | |
parent | 2a1292359b79ec77257583ea9d97891dfd2ddb1b (diff) | |
parent | 958fc15fecfe353a2cb2cf1cb4c7d10591ab74f9 (diff) | |
download | Shaarli-c4ac70acbbaa0031607005f7e867f474ec479a8c.tar.gz Shaarli-c4ac70acbbaa0031607005f7e867f474ec479a8c.tar.zst Shaarli-c4ac70acbbaa0031607005f7e867f474ec479a8c.zip |
Merge pull request #934 from thewilli/fix-note-bookmarklet
fixed note bookmarklet
Diffstat (limited to 'tpl/default/tools.html')
-rw-r--r-- | tpl/default/tools.html | 2 |
1 files changed, 1 insertions, 1 deletions
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 @@ | |||
97 | var%20desc=document.getSelection().toString(); | 97 | var%20desc=document.getSelection().toString(); |
98 | if(desc.length>4000){ | 98 | if(desc.length>4000){ |
99 | desc=desc.substr(0,4000)+'...'; | 99 | desc=desc.substr(0,4000)+'...'; |
100 | alert("{function="str_replace(' ', '%20', t('The selected text is too long, it will be truncated.'))"}"); | 100 | alert('{function="str_replace(' ', '%20', t('The selected text is too long, it will be truncated.'))"}'); |
101 | } | 101 | } |
102 | window.open( | 102 | window.open( |
103 | '{$pageabsaddr}?private=1&post='+ | 103 | '{$pageabsaddr}?private=1&post='+ |