Skip to content

Commit

Permalink
Fixed a bug where an additional line in the flex friday spreadsheet w…
Browse files Browse the repository at this point in the history
…ould tank a transcript
  • Loading branch information
Halsted Larsson committed Dec 20, 2018
1 parent 1fe4a82 commit 35c868e
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions site-root/baxter/scripts/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -624,6 +624,10 @@ function getStartYear(){
}

function getYearInt(yearSpan){

if(!yearSpan) {
return 0;
}
var startYear = currentYearStart - studentYear;
var spanStartYear = yearSpan.substr(0, 4);
var out = spanStartYear - startYear;
Expand Down

0 comments on commit 35c868e

Please sign in to comment.