1
0
Fork 0
forked from 0x2620/oxjs

fix a bug with doubleclicking on a calendar to zoom in

This commit is contained in:
rlx 2011-10-10 20:48:35 +00:00
commit 5948d2c2ce
2 changed files with 1 additions and 2 deletions

View file

@ -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++;
}