4,090
edits
No edit summary Tag: Manual revert |
No edit summary Tag: Reverted |
||
Line 50: | Line 50: | ||
'<div class="article-description">' + description + '</div>' | '<div class="article-description">' + description + '</div>' | ||
); | ); | ||
// Set the scrollTop property to 0 when a card is clicked | |||
$('#show-article-wrapper').scrollTop(0); | |||
// Apply the fade-out effect to the #list element | // Apply the fade-out effect to the #list element | ||
$('#list').addClass('fade-out'); | $('#list').addClass('fade-out'); |