CoreFiles by mySites.guru
admin-compare-compare.min.js1 lines, 696 bytes, from Joomla_4.2.2-Stable-Full_Package.zip
Raw History Compare with 4.2.1
md5
75ba637a1186d536d5a72833bcf1e9b4
sha1
77bfdee1f9f8ec27feaa6e2d442118f8fa02897f
sha256
dd6ba1d60109e9c73030ba2e60923e7bce6723b6ce428e8dc56059bb239af479
(()=>{const e=(e,n)=>{const t=n.nextElementSibling,o=window.Diff.diffWords(e.innerHTML,n.innerHTML),d=document.createDocumentFragment();o.forEach((e=>{let n="";e.added&&(n="#a6f3a6"),e.removed&&(n="#f8cbcb");const t=document.createElement("span");t.style.backgroundColor=n,t.style.borderRadius=".2rem",t.appendChild(document.createTextNode((e=>{const n=document.createElement("textarea");return n.innerHTML=Joomla.sanitizeHtml(e),n.value})(e.value))),d.appendChild(t)})),t.appendChild(d)},n=()=>{[].slice.call(document.querySelectorAll(".original")).forEach((n=>{e(n,n.nextElementSibling)})),document.removeEventListener("DOMContentLoaded",n)};document.addEventListener("DOMContentLoaded",n)})();

The same content is in 105 releases, Joomla 4.0.0-rc2 to 5.0.0. See them all, or every version of this file.