sgs006 / Udacity-Yearbook-Project

Optional Yearbook Collaboration for Udacity Front-End Scholarship Participants
41 stars 39 forks source link

Fixes bug that stops Yearbook page from displaying all Students #97

Closed rob9095 closed 6 years ago

rob9095 commented 6 years ago

there was a TypeError causing the ajax call to break and this was stopping the page from displaying all the student cards.

The error came from using .includes on a string which is an array method.

jamesperrin commented 6 years ago

In the future, please only use JS ES5 code to ensure cross-browser support.