diff options
Diffstat (limited to 'tpl/default/tools.html')
-rw-r--r-- | tpl/default/tools.html | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tpl/default/tools.html b/tpl/default/tools.html index 6951ad28..bf6b6ca3 100644 --- a/tpl/default/tools.html +++ b/tpl/default/tools.html | |||
@@ -75,7 +75,7 @@ | |||
75 | window.open( | 75 | window.open( |
76 | '{$pageabsaddr}?post='%20+%20encodeURIComponent(url)+ | 76 | '{$pageabsaddr}?post='%20+%20encodeURIComponent(url)+ |
77 | '&title='%20+%20encodeURIComponent(title)+ | 77 | '&title='%20+%20encodeURIComponent(title)+ |
78 | '&description='%20+%20encodeURIComponent(document.getSelection())+ | 78 | '&description='%20+%20encodeURIComponent(document.getSelection().toString().substr(0, 2000))+ |
79 | '&source=bookmarklet','_blank','menubar=no,height=800,width=600,toolbar=no,scrollbars=yes,status=no,dialog=1' | 79 | '&source=bookmarklet','_blank','menubar=no,height=800,width=600,toolbar=no,scrollbars=yes,status=no,dialog=1' |
80 | ); | 80 | ); |
81 | } | 81 | } |
@@ -91,7 +91,7 @@ | |||
91 | function(){ | 91 | function(){ |
92 | window.open( | 92 | window.open( |
93 | '{$pageabsaddr}?private=1&post='+ | 93 | '{$pageabsaddr}?private=1&post='+ |
94 | '&description='%20+%20encodeURIComponent(document.getSelection())+ | 94 | '&description='%20+%20encodeURIComponent(document.getSelection().toString().substr(0, 2000))+ |
95 | '&source=bookmarklet','_blank','menubar=no,height=800,width=600,toolbar=no,scrollbars=yes,status=no,dialog=1' | 95 | '&source=bookmarklet','_blank','menubar=no,height=800,width=600,toolbar=no,scrollbars=yes,status=no,dialog=1' |
96 | ); | 96 | ); |
97 | } | 97 | } |