1
0
Fork 0
forked from 0x2620/oxjs

catch some global vars

This commit is contained in:
rlx 2011-11-05 17:27:11 +00:00
commit 1deb616942
8 changed files with 9 additions and 9 deletions

View file

@ -891,7 +891,7 @@ Ox.Calendar = function(options, self) {
units;
self.units.reverse();
Ox.forEach(self.units, function(v, i) {
width = Math.round(v.seconds * pixelsPerSecond);
var width = Math.round(v.seconds * pixelsPerSecond);
if (width >= self.minLabelWidth) {
units = [self.units[i], self.units[i - 1]];
return false;