Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

fix for error caused by bowl games.

  • Loading branch information...
commit 4babba45166f301c83e195661351a07b4b430ec0 1 parent 0b5c25f
@smith authored
Showing with 7 additions and 3 deletions.
  1. +7 −3 CollegeFootball.wdgt/js/schedule.js
View
10 CollegeFootball.wdgt/js/schedule.js
@@ -6,9 +6,13 @@ define(["require", "exports", "jquery", "./date"], function (require, exports, $
o = {},
cols = ["date", "opponent", "resultTime", "recordTickets"];
- cells.each(function (i, c) {
- cellMethods[cols[i]]($(c), o);
- });
+ // If there's only one cell, it means they're putting something like
+ // "INSIGHT BOWL" in there, so skip it
+ if (cells.length > 1) {
+ cells.each(function (i, c) {
+ cellMethods[cols[i]]($(c), o);
+ });
+ }
return o;
}
Please sign in to comment.
Something went wrong with that request. Please try again.