CoreFiles by mySites.guru
htmlDescriptor.js10 lines, 354 bytes, from Joomla_4.4.3-Stable-Full_Package.zip
Raw History Compare with 4.4.2
md5
bf7dcb124769ab33c9e63f32211a093e
sha1
846b71f59c041446a20077e91dc30ce338db6d1e
sha256
f2f5ed0b97d9084213608a5583b78410403eb4ffdbbc49da61e4e0a2b3c41be4
document.addEventListener('DOMContentLoaded', function() {
  let prev = null;
  Array.from(document.getElementsByTagName('article')).reverse().forEach(function (article) {
    const dedupId = article.dataset.dedupId;
    if (dedupId === prev) {
      article.getElementsByTagName('header')[0].classList.add('hidden');
    }
    prev = dedupId;
  });
});

The same content is in 292 releases, Joomla 4.0.0-alpha10 to 6.3.0-alpha1. See them all, or every version of this file.