]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
Using 800px width and using document.title if no text is selected.
authorSarven Capadisli <csarven@controlyourself.ca>
Wed, 8 Apr 2009 19:59:59 +0000 (19:59 +0000)
committerSarven Capadisli <csarven@controlyourself.ca>
Wed, 8 Apr 2009 19:59:59 +0000 (19:59 +0000)
doc-src/bookmarklet
theme/base/css/display.css

index a7f459eecce50572320adbc690a021e45b8609cd..a2aaf943d85361a9ab36501e8ce5b4332a27bc29 100644 (file)
@@ -3,6 +3,5 @@ A bookmarklet is a small piece of javascript code used as a bookmark. This one w
 Drag-and-drop the following link to your bookmarks bar or right-click it and add it to your browser favorites to keep it handy.
 
 <MTMarkdownOptions output='raw'>
-<a href="javascript:var%20d=document,w=window,e=w.getSelection,k=d.getSelection,x=d.selection,s=(e?e():(k)?k():(x?x.createRange().text:0)),f='http://%%site.server%%/%%site.path%%/index.php?action=newnotice',l=d.location,e=encodeURIComponent,g=f+'&status_textarea=%22'+e(s)+'%22 from '+l.href;function%20a(){if(!w.open(g,'t','toolbar=0,resizable=0,scrollbars=1,status=1,width=720,height=570')){l.href=g;}}a();void(0);">Post to %%site.name%%</a>
+<a href="javascript:var%20d=document,w=window,e=w.getSelection,k=d.getSelection,x=d.selection,s=(e?e():(k)?k():(x?x.createRange().text:0)),f='http://%%site.server%%/%%site.path%%/index.php?action=newnotice',l=d.location,e=encodeURIComponent,g=f+'&status_textarea=%22'+((e(s))?e(s):document.title)+'%22 from '+l.href;function%20a(){if(!w.open(g,'t','toolbar=0,resizable=0,scrollbars=1,status=1,width=800,height=570')){l.href=g;}}a();void(0);">Post to %%site.name%%</a>
 </MTMarkdownOptions>
-
index 03b6880737c0b09d2eb58096e22cbc64f05adfda..aa5655369a2870be1a9b2d53256d7ca87ff6d963 100644 (file)
@@ -1158,4 +1158,4 @@ display:none;
 }
 .guide {
 clear:both;
-}
+}
\ No newline at end of file