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)
This commit is contained in:
parent
2a1292359b
commit
958fc15fec
1 changed files with 1 additions and 1 deletions
|
@ -97,7 +97,7 @@ <h2 class="window-title">Bookmarklets</h2>
|
||||||
var%20desc=document.getSelection().toString();
|
var%20desc=document.getSelection().toString();
|
||||||
if(desc.length>4000){
|
if(desc.length>4000){
|
||||||
desc=desc.substr(0,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(
|
window.open(
|
||||||
'{$pageabsaddr}?private=1&post='+
|
'{$pageabsaddr}?private=1&post='+
|
||||||
|
|
Loading…
Reference in a new issue