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
|
|
@ -423,7 +423,7 @@ Ox.Calendar = function(options, self) {
|
|||
} else {
|
||||
if (self.options.zoom < self.maxZoom) {
|
||||
self.options.date = new Date(
|
||||
(+self.options.date + +getMouseDate(e)) / 2
|
||||
(+self.options.date + +getMouseDate(data)) / 2
|
||||
);
|
||||
self.options.zoom++;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue