1
0
mirror of https://github.com/vichan-devel/vichan.git synced 2024-11-12 01:50:48 +01:00

remove inlined posts for new inlined posts

This commit is contained in:
James Campos 2014-10-03 13:41:54 -07:00 committed by czaks
parent 2f85073d28
commit 9dce04ebc8

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,