Skip to content
Snippets Groups Projects
Commit 656bdb86 authored by Haakon Gunleiksrud's avatar Haakon Gunleiksrud
Browse files

Fixed code smells in workouts.js

parent 020e1352
No related branches found
No related tags found
2 merge requests!31Complete exercise 3,!28Frontendsmells
Pipeline #127118 passed
......@@ -65,7 +65,7 @@ async function fetchWorkouts(ordering) {
container.appendChild(aWorkout);
};
}
return workouts;
}
}
......@@ -171,9 +171,6 @@ function generateClones(button) {
clone.parentNode.removeChild(clone);
clearTimeout(removeNodeTimeout);
}, 900);
let removeClassTimeout = setTimeout( function() {
button.classList.remove("animated")
}, 600);
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment