Skip to content

Commit

Permalink
Fixed loadStudentsJSON being invoked immediatedly
Browse files Browse the repository at this point in the history
  • Loading branch information
malthesers committed Jan 24, 2024
1 parent 90ee8f8 commit b5b7f8d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/script.js
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ function loadFamiliesJSON() {
.then((familyData) => {
familyNameList = familyData;
})
.then(loadStudentsJSON());
.then(loadStudentsJSON);
}

function loadStudentsJSON() {
Expand Down

0 comments on commit b5b7f8d

Please sign in to comment.