reshare in "display" view
This commit is contained in:
parent
ed38808aae
commit
3e664dbdfe
2 changed files with 16 additions and 3 deletions
|
@ -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);
|
||||
});
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue