primo commit

This commit is contained in:
2024-12-17 17:34:10 +01:00
commit e650f8df99
16435 changed files with 2451012 additions and 0 deletions

View File

@ -0,0 +1,21 @@
{
"$schema": "https://developer.joomla.org/schemas/json-schema/web_assets.json",
"name": "com_admin",
"version": "4.0.0",
"description": "Joomla CMS",
"license": "GPL-2.0-or-later",
"assets": [
{
"name": "com_admin.admin-help",
"type": "script",
"uri": "com_admin/admin-help.min.js",
"dependencies": [
"core"
],
"attributes": {
"type": "module"
},
"version": "54d1ad"
}
]
}

View File

@ -0,0 +1,9 @@
/**
* @copyright (C) 2021 Open Source Matters, Inc. <https://www.joomla.org>
* @license GNU General Public License version 2 or later; see LICENSE.txt
*/
const helpIndex = document.getElementById('help-index');
if (helpIndex) {
helpIndex.querySelectorAll('a').forEach(element => element.addEventListener('click', () => window.scroll(0, 0)));
}

4
media/com_admin/js/admin-help.min.js vendored Normal file
View File

@ -0,0 +1,4 @@
/**
* @copyright (C) 2021 Open Source Matters, Inc. <https://www.joomla.org>
* @license GNU General Public License version 2 or later; see LICENSE.txt
*/const helpIndex=document.getElementById("help-index");helpIndex&&helpIndex.querySelectorAll("a").forEach(e=>e.addEventListener("click",()=>window.scroll(0,0)));

Binary file not shown.