X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=view%2Fjot-header.tpl;h=77e5bc4bcd0fca73eddc65f7315465c11bc0922b;hb=9b93bd25218dc0b4a5e477c3a64d6f74a51a9d21;hp=3a1d0a2ae4f5e0db0920e9fb1882f0f92213bcb7;hpb=fc8379b1080823bb69664aa4119ba190e1f5b1ca;p=friendica.git diff --git a/view/jot-header.tpl b/view/jot-header.tpl index 3a1d0a2ae4..77e5bc4bcd 100644 --- a/view/jot-header.tpl +++ b/view/jot-header.tpl @@ -1,33 +1,87 @@ - - + + function jotShare(id) { + $('#like-rotator-' + id).show(); + $.get('share/' + id, function(data) { + tinyMCE.execCommand('mceInsertRawHTML',false,data); + $('#like-rotator-' + id).hide(); + $(window).scrollTop(0); + }); + } - \ No newline at end of file +