diff --git a/boards/static/js/refpopup.js b/boards/static/js/refpopup.js --- a/boards/static/js/refpopup.js +++ b/boards/static/js/refpopup.js @@ -57,7 +57,7 @@ function showPostPreview(e) { cln.innerHTML = "
" + gettext('Loading...') + "
"; if($('div[id='+pNum+']').length > 0) { - var postdata = $('div[id='+pNum+']').wrap("
").parent().html(); + var postdata = $('div[id='+pNum+']').clone().wrap("
").parent().html(); mkPreview(cln, postdata); } else {