forked from 0x2620/oxjs
fix a bug with doubleclicking on a calendar to zoom in
This commit is contained in:
parent
ccece375c0
commit
5948d2c2ce
2 changed files with 1 additions and 2 deletions
|
|
@ -396,7 +396,6 @@ Ox.formatDateRangeDuration = function(start, end, utc) {
|
|||
}
|
||||
// advance the date by one unit
|
||||
Ox['set' + parts[i]](date, Ox['get' + parts[i]](date, utc) + 1, utc);
|
||||
Ox.print(key, '.....', date)
|
||||
if (date <= dates[1]) {
|
||||
// still within the range, add one unit
|
||||
values[i] = (values[i] || 0) + 1;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue