diff options
author | Willi Eggeling <thewilli@users.noreply.github.com> | 2017-08-24 10:20:32 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-08-24 10:20:32 +0200 |
commit | 958fc15fecfe353a2cb2cf1cb4c7d10591ab74f9 (patch) | |
tree | 11cf0d4b890379a37bccafc695c679b0054d0dd8 /tpl/default/tools.html | |
parent | 2a1292359b79ec77257583ea9d97891dfd2ddb1b (diff) | |
download | Shaarli-958fc15fecfe353a2cb2cf1cb4c7d10591ab74f9.tar.gz Shaarli-958fc15fecfe353a2cb2cf1cb4c7d10591ab74f9.tar.zst Shaarli-958fc15fecfe353a2cb2cf1cb4c7d10591ab74f9.zip |
fixed note bookmarklet
- the double quotes used in the alert() call of the note bookmarklet in the default template collided with the ones of the href tag
- replaced the double quotes with single ones (just like the link 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='+ |