menu
This commit is contained in:
parent
2908989582
commit
3c362849d6
@ -110,7 +110,7 @@ const funcionesGlobales = {
|
||||
activo(ruta) {
|
||||
const location = window.location.pathname
|
||||
|
||||
if (location[location.length - 1]) location.slice(0, -1)
|
||||
if (location[location.length - 1] === '/') location.slice(0, -1)
|
||||
return ruta === location
|
||||
},
|
||||
icono(ruta) {
|
||||
|
Loading…
Reference in New Issue
Block a user