...
Code Block |
---|
<script> $(document).ready( function() { let featuredImg = $('.content-header .media-container img').attr('src'); $('article img').first().each(function(){ if ($(this).attr('src') == featuredImg) { $(this).remove(); } }); }); </script> |