diff --git a/boards/static/js/refmaps.js b/boards/static/js/refmaps.js --- a/boards/static/js/refmaps.js +++ b/boards/static/js/refmaps.js @@ -30,9 +30,10 @@ function addRefLinkMap() { if(typeof refMap[pNum] === 'object') { //append refmap panel if(!$("#refmap_"+pNum).length) { - var data = label_replies + refMap[pNum].toString().replace(/(\d+)/g, ' >>$1'); - $('#'+pNum+'').find('.message').after($('
'+data+'
')); + $('#'+pNum+'').find('.message').after( + $('
'+label_replies + refMap[pNum].toString().replace(/(\d+)/g, ' >>$1')+'
') + ); } } } -} +} \ No newline at end of file