projects
/
dygraphs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
579d904
)
Revert "To avoid the rising count of useless resizes : we remove the handler if it...
author
Emmanuel Fitoussi
<Manu@MacBookPro.local>
Fri, 25 Jan 2013 21:05:24 +0000
(22:05 +0100)
committer
Emmanuel Fitoussi
<Manu@MacBookPro.local>
Fri, 25 Jan 2013 21:05:24 +0000
(22:05 +0100)
This reverts commit
194075ffc1b1c44e37e785aed7dc92e777d7d192
.
dygraph.js
patch
|
blob
|
blame
|
history
diff --git
a/dygraph.js
b/dygraph.js
index
71bacbf
..
1773c35
100644
(file)
--- a/
dygraph.js
+++ b/
dygraph.js
@@
-966,12
+966,6
@@
Dygraph.prototype.createInterface_ = function() {
};
this.addEvent(this.mouseEventElement_, 'mouseout', this.mouseOutHandler);
-
- if (this.resizeHandler) {
- // remove handler because it's already setup.
- Dygraph.removeEvent(window, 'resize', this.resizeHandler);
- }
-
this.resizeHandler = function(e) {
dygraph.resize();
};