diff --git a/core/static/core/js/efectos.js b/core/static/core/js/efectos.js index c839566..0e92adf 100644 --- a/core/static/core/js/efectos.js +++ b/core/static/core/js/efectos.js @@ -2,7 +2,7 @@ @licstart The following is the entire license notice for the JavaScript code in this page. -Copyleft 2017 | Heckyel +Copyleft 2021 | Heckyel This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by diff --git a/core/static/core/js/efectos.min.js b/core/static/core/js/efectos.min.js deleted file mode 100644 index 327759b..0000000 --- a/core/static/core/js/efectos.min.js +++ /dev/null @@ -1,3 +0,0 @@ -// @license magnet:?xt=urn:btih:1f739d935676111cfff4b4693e3816e664797050&dn=gpl-3.0.txt GPL-v3-or-Later -!function(){"use strict";document.addEventListener("DOMContentLoaded",e=>{const t=document.getElementById("btn-acerca-de"),n=document.getElementById("btn-trabajos"),o=document.getElementById("btn-contacto"),a=(document.getElementById("acerca-de"),document.getElementById("trabajos")),c=document.getElementById("contacto");t.addEventListener("click",e=>{e.preventDefault(),window.scroll({top:240,behavior:"smooth"}),location.hash=t.hash}),n.addEventListener("click",e=>{e.preventDefault(),a.scrollIntoView({behavior:"smooth",block:"start",inline:"nearest"}),location.hash=n.hash}),o.addEventListener("click",e=>{e.preventDefault(),c.scrollIntoView({behavior:"smooth",block:"start",inline:"nearest"}),location.hash=o.hash})})}(); -// @license-end diff --git a/core/static/core/js/formulario.js b/core/static/core/js/formulario.js index da6d9f8..eead4f9 100644 --- a/core/static/core/js/formulario.js +++ b/core/static/core/js/formulario.js @@ -2,7 +2,7 @@ @licstart The following is the entire license notice for the JavaScript code in this page. -Copyleft 2017 | Heckyel +Copyleft 2021 | Heckyel This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -18,7 +18,8 @@ See the GNU General Public License for more details. for the JavaScript code in this page. */ -(function(){ +(function main(){ + 'use strict'; var formulario = document.getElementById('formulario'), nombre = formulario.name, correo = formulario.email, diff --git a/core/static/core/js/formulario.min.js b/core/static/core/js/formulario.min.js deleted file mode 100644 index fbbd354..0000000 --- a/core/static/core/js/formulario.min.js +++ /dev/null @@ -1,3 +0,0 @@ -// @license magnet:?xt=urn:btih:1f739d935676111cfff4b4693e3816e664797050&dn=gpl-3.0.txt GPL-v3-or-Later -!function(){function e(e){""!=a.value&&null!=a.value||(console.info("Por favor completa el nombre"),c.style.display="block",c.innerHTML=c.innerHTML+"
formulario.min.js | -GNU-GPL-3.0-or-later | +formulario.js | +GNU-GPL-3.0-or-later | formulario.js |
efectos.min.js | -GNU-GPL-3.0-or-later | +efectos.js | +GNU-GPL-3.0-or-later | efectos.js |