1
0
Fork 0

reshare in "display" view

This commit is contained in:
Fabio Comuni 2012-02-13 09:33:20 +01:00
commit 3e664dbdfe
2 changed files with 16 additions and 3 deletions

View file

@ -209,15 +209,14 @@ function enableOnUser(){
}
function jotShare(id) {
if ($('#jot-popup').length != 0) $('#jot-popup').show();
$('#like-rotator-' + id).show();
$.get('share/' + id, function(data) {
if (!editor) $("#profile-jot-text").val("");
initEditor(function(){
addeditortext(data);
$('#like-rotator-' + id).hide();
if ($('#jot-popup').length != 0){
$('#jot-popup').show();
}
$(window).scrollTop(0);
});