Skip to content

Commit

Permalink
fix for error caused by bowl games.
Browse files Browse the repository at this point in the history
  • Loading branch information
smith committed Dec 24, 2011
1 parent 0b5c25f commit 4babba4
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions CollegeFootball.wdgt/js/schedule.js
Expand Up @@ -6,9 +6,13 @@ define(["require", "exports", "jquery", "./date"], function (require, exports, $
o = {}, o = {},
cols = ["date", "opponent", "resultTime", "recordTickets"]; cols = ["date", "opponent", "resultTime", "recordTickets"];


cells.each(function (i, c) { // If there's only one cell, it means they're putting something like
cellMethods[cols[i]]($(c), o); // "INSIGHT BOWL" in there, so skip it
}); if (cells.length > 1) {
cells.each(function (i, c) {
cellMethods[cols[i]]($(c), o);
});
}


return o; return o;
} }
Expand Down

0 comments on commit 4babba4

Please sign in to comment.