`);b.find(`a`).removeClass(`comment-submit`).addClass(`reply-submit`);a.append(`
Напишете отговор
`);a.attr(c,`true`)}else{a.find(`.reply-form`).remove();a.attr(c,d)}});$(`form .comment-submit`).live(`click`,function(){var a=$(this).closest(`form`);var b=$(`.post-comment`);generateComment(a,`comment`,b,(c=>{b.before(``+ c+ `
`);setTimeout((()=>{$(`.comments .success`).fadeOut(400)}),2000);a[0].reset()}))});$(`form .reply-submit`).live(`click`,function(){let c=`.comment`;var a=$(this).closest(`form`);var b=$(this).closest(c).find(`.reply-form`);generateComment(a,`reply`,b,(d=>{b.before(``+ d+ `
`);setTimeout((()=>{$(`.comments .success`).fadeOut(400)}),2000);a.closest(c).attr(`data-has-form`,`false`);b.remove()}))})