REDROOM
PHP 8.1.33
Path:
Logout
Edit File
Size: 1.89 KB
Close
/home/jambtst2015/public_html/ida.com.ng/templates/cassiopeia/js/template.js
Text
Base64
/** * @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(Joomla, document) { 'use strict'; function initTemplate(event) { var target = event && event.target ? event.target : document; /** * Prevent clicks on buttons within a disabled fieldset */ var fieldsets = target.querySelectorAll('fieldset.btn-group'); for (var i = 0; i < fieldsets.length; i++) { var self = fieldsets[i]; if (self.getAttribute('disabled') === true) { self.style.pointerEvents = 'none'; var btns = self.querySelectorAll('.btn'); for (var ib = 0; ib < btns.length; ib++) { btns[ib].classList.add('disabled'); } } } } document.addEventListener('DOMContentLoaded', function (event) { initTemplate(event); /** * Back to top */ var backToTop = document.getElementById('back-top'); if (backToTop) { function checkScrollPos() { if (document.body.scrollTop > 20 || document.documentElement.scrollTop > 20) { backToTop.classList.add('visible'); } else { backToTop.classList.remove('visible') } } checkScrollPos(); window.onscroll = function() { checkScrollPos(); }; backToTop.addEventListener('click', function(event) { event.preventDefault(); window.scrollTo(0, 0); }); } [].slice.call(document.head.querySelectorAll('link[rel="lazy-stylesheet"]')) .forEach(function($link){ $link.rel = "stylesheet"; }); }); /** * Initialize when a part of the page was updated */ document.addEventListener('joomla:updated', initTemplate); })(Joomla, document);
Save
Close
Exit & Reset
Text mode: syntax highlighting auto-detects file type.
Directory Contents
Dirs: 0 × Files: 4
Delete Selected
Select All
Select None
Sort:
Name
Size
Modified
Enable drag-to-move
Name
Size
Perms
Modified
Actions
template.es5.js
1.89 KB
lrw-r--r--
2024-11-22 17:53:13
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
template.js
1.89 KB
lrw-r--r--
2024-11-22 17:53:13
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
template.min.js
836 B
lrw-r--r--
2024-11-22 17:53:13
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
template.min.js.gz
476 B
lrw-r--r--
2024-11-22 17:53:13
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
Zip Selected
If ZipArchive is unavailable, a
.tar
will be created (no compression).