1
0
mirror of https://github.com/vichan-devel/vichan.git synced 2024-12-01 10:37:18 +01:00

remove inlined posts for new inlined posts

This commit is contained in:
James Campos 2014-10-03 13:41:54 -07:00
parent b17a81dece
commit 29c887f99d

View File

@ -58,6 +58,7 @@
var add = function(link, $target) { var add = function(link, $target) {
var $clone = $target.clone(true) var $clone = $target.clone(true)
$clone.find('.inline').remove()
$clone.attr({ $clone.attr({
"class": 'inline post', "class": 'inline post',
id: 'inline_' + link.targetNum, id: 'inline_' + link.targetNum,