4,396
edits
No edit summary |
No edit summary |
||
Line 60: | Line 60: | ||
var quote = $(this).find('.quote').text(); | var quote = $(this).find('.quote').text(); | ||
var modificationDate = $(this).find('.modification-date').text(); | var modificationDate = $(this).find('.modification-date').text(); | ||
var relatedArticlesHtml = $(this).find('.related-articles').html(); | |||
// Update the fixed column content | // Update the fixed column content | ||
Line 106: | Line 107: | ||
$('#article-content').html(articleContentHtml); | $('#article-content').html(articleContentHtml); | ||
$('#related-articles').html(relatedArticlesHtml); | |||
if (relatedArticlesHtml) { | |||
$('#related-articles').show(); | |||
} else { | |||
$('#related-articles').hide(); | |||
} | |||
function formatParagraphs(text) { | function formatParagraphs(text) { |