forked from 0x2620/oxjs
catch some global vars
This commit is contained in:
parent
56370aa0a7
commit
1deb616942
8 changed files with 9 additions and 9 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue