projects
/
dygraphs.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Regression test for issue #411
[dygraphs.git]
/
extras
/
unzoom.js
diff --git
a/extras/unzoom.js
b/extras/unzoom.js
index
802c31b
..
fac1bbc
100644
(file)
--- a/
extras/unzoom.js
+++ b/
extras/unzoom.js
@@
-79,14
+79,14
@@
Dygraph.Plugins.Unzoom = (function() {
g.resetZoom();
};
g.resetZoom();
};
- g.addEvent(parent, 'mouseover', function() {
+ g.add
AndTrack
Event(parent, 'mouseover', function() {
if (g.isZoomed()) {
self.show(true);
}
self.over_ = true;
});
if (g.isZoomed()) {
self.show(true);
}
self.over_ = true;
});
- g.addEvent(parent, 'mouseout', function() {
+ g.add
AndTrack
Event(parent, 'mouseout', function() {
self.show(false);
self.over_ = false;
});
self.show(false);
self.over_ = false;
});