fixed quoting

This commit is contained in:
Baris Usakli
2013-07-03 14:15:19 -04:00
parent facb6eb36b
commit e24606ff73
2 changed files with 3 additions and 3 deletions

View File

@@ -434,14 +434,13 @@
var pid = $(this).parents('li').attr('data-pid');
socket.once('api:posts.getRawPost', function(data) {
quoted = '> ' + data.post.replace(/\n/g, '\n> ') + '\n\n';
require(['composer'], function(cmp) {
cmp.push(tid, null, null, quoted);
});
});
socket.emit('api:posts.getRawPost', { pid: pid });
// $('.post-window textarea').val('> ' + $('#content_' + pid).html() + '\n');
// });
}
});