CoreFiles by mySites.guru
template.min.js7 lines, 1,087 bytes, from Joomla_4.4.2-Stable-Full_Package.zip
Raw History Compare with 4.4.1
md5
39e1a85373974f7bb834cfc748fefef8
sha1
4acaca8e6e74ec0b3099350c19e4caf9ca5ab39a
sha256
5af9b39056987bb58fd328e129e80e3a610b8f59cfd5b48f6be6f23759e49960
/**
 * @package     Joomla.Site
 * @subpackage  Templates.Cassiopeia
 * @copyright   (C) 2017 Open Source Matters, Inc. <https://www.joomla.org>
 * @license     GNU General Public License version 2 or later; see LICENSE.txt
 * @since       4.0.0
 */Joomla=window.Joomla||{},function(c,e){"use strict";function i(o){for(var t=o&&o.target?o.target:e,l=t.querySelectorAll("fieldset.btn-group"),r=0;r<l.length;r++){var a=l[r];if(a.getAttribute("disabled")===!0){a.style.pointerEvents="none";for(var s=a.querySelectorAll(".btn"),n=0;n<s.length;n++)s[n].classList.add("disabled")}}}e.addEventListener("DOMContentLoaded",function(o){i(o);var t=e.getElementById("back-top");if(t){let l=function(){e.body.scrollTop>20||e.documentElement.scrollTop>20?t.classList.add("visible"):t.classList.remove("visible")};l(),window.onscroll=function(){l()},t.addEventListener("click",function(r){r.preventDefault(),window.scrollTo(0,0)})}[].slice.call(e.head.querySelectorAll('link[rel="lazy-stylesheet"]')).forEach(function(l){l.rel="stylesheet"})}),e.addEventListener("joomla:updated",i)}(Joomla,document);

The same content is in 56 releases, Joomla 4.4.1-rc1 to 5.1.4. See them all, or every version of this file.