- md5
- 1aa91d61cc2bbd79a1644fca5c408fe6
- sha1
- c848693feb7c555ef01d86d6c8d2b2b06ab78f96
- sha256
- 44ecd3b51f3feca2256c8267b6e21335a4883b4738330eccc5d5aa488d68d4a4
!function(){"use strict";var e,t,o,n;e=function(){var e=document.getElementById("diff-main");e&&(e.classList.remove("active"),"undefined"!=typeof Storage&&localStorage.removeItem("diffSwitchState"))},t=function(){var e=document.getElementById("diff-main");e&&(e.classList.add("active"),"undefined"!=typeof Storage&&localStorage.setItem("diffSwitchState","checked"))},o=function(){var e=document.getElementById("override-pane"),t=document.getElementById("core-pane"),o=e.parentElement.parentElement;t&&e&&(t.classList.remove("active"),o.classList.contains("options-grid-form-half")&&(o.classList.remove("options-grid-form-half"),o.classList.add("options-grid-form-full")),"undefined"!=typeof Storage&&localStorage.removeItem("coreSwitchState"))},n=function(){var e=document.getElementById("override-pane"),t=document.getElementById("core-pane"),o=e.parentElement.parentElement;t&&e&&(t.classList.add("active"),o.classList.contains("options-grid-form-full")&&(o.classList.remove("options-grid-form-full"),o.classList.add("options-grid-form-half")),Joomla.editors.instances.jform_core&&Joomla.editors.instances.jform_core.refresh(),"undefined"!=typeof Storage&&localStorage.setItem("coreSwitchState","checked"))},document.addEventListener("DOMContentLoaded",(function(){var c=document.getElementById("jform_show_diff1"),d=document.getElementById("jform_show_diff0"),a=document.getElementById("jform_show_core1"),i=document.getElementById("jform_show_core0");c&&d&&(c.addEventListener("click",t),d.addEventListener("click",e)),a&&i&&(a.addEventListener("click",n),i.addEventListener("click",o)),"undefined"!=typeof Storage&&localStorage.getItem("coreSwitchState")&&a&&(a.checked=!0,i.checked=!1,n()),"undefined"!=typeof Storage&&localStorage.getItem("diffSwitchState")&&c&&(c.checked=!0,d.checked=!1,t())}))}();
The same content is in 97 releases, Joomla 4.0.0-rc1 to 5.0.0-alpha1. See them all, or every version of this file.