Forráskód Böngészése

fix bug with options processing

Adam Shaw 10 éve
szülő
commit
045ff1f031
1 módosított fájl, 1 hozzáadás és 1 törlés
  1. 1 1
      src/Calendar.js

+ 1 - 1
src/Calendar.js

@@ -147,7 +147,7 @@ var Calendar = fc.Calendar = Class.extend({
 				// incorporate options for this. lowest priority
 				// incorporate options for this. lowest priority
 				if (duration.as(unit) === 1) {
 				if (duration.as(unit) === 1) {
 					spec.singleUnit = unit;
 					spec.singleUnit = unit;
-					defaultsChain.unshift(viewOverrides[unit] || {});
+					overridesChain.unshift(viewOverrides[unit] || {});
 				}
 				}
 			}
 			}
 		}
 		}