Skip to content

Commit

Permalink
Update scriptClick.js
Browse files Browse the repository at this point in the history
  • Loading branch information
Ballwictb committed Feb 14, 2024
1 parent 5eead79 commit ba82779
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions js/scriptClick.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ let countries = container.querySelectorAll('div');

//REVIEW - Creando un objeto para poder añadir los siguientes paises.

const rugged = [
const rugged = {
esp: () => {
for (let i = 1; i < countries.length; i++) {
if (countries[i].style.display == 'none') {
Expand All @@ -20,7 +20,7 @@ const rugged = [
pt: {},
it: {},
de: {}
]
};


//REVIEW - Prueba superada - {Cambio a un codigo mas flexible}
Expand Down

0 comments on commit ba82779

Please sign in to comment.