projects
/
dygraphs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ea2169e
)
Last set of code review comments for unzoom.
author
Robert Konigsberg
<konigsberg@gmail.com>
Fri, 11 Jan 2013 15:11:05 +0000
(10:11 -0500)
committer
Robert Konigsberg
<konigsberg@gmail.com>
Fri, 11 Jan 2013 15:11:05 +0000
(10:11 -0500)
plugins/unzoom.js
patch
|
blob
|
blame
|
history
diff --git
a/plugins/unzoom.js
b/plugins/unzoom.js
index
ba510d0
..
d81413a
100644
(file)
--- a/
plugins/unzoom.js
+++ b/
plugins/unzoom.js
@@
-63,7
+63,7
@@
Dygraph.Plugins.Unzoom = (function() {
}
this.button_ = document.createElement('button');
- this.button_.innerHTML = '
Unz
oom';
+ this.button_.innerHTML = '
Reset Z
oom';
this.button_.style.display = 'none';
this.button_.style.position = 'absolute';
var area = g.plotter_.area;
@@
-92,7
+92,7
@@
Dygraph.Plugins.Unzoom = (function() {
};
unzoom.prototype.show = function(enabled) {
- this.button_.style.display = enabled ? '
block' : '
';
+ this.button_.style.display = enabled ? '
' : 'none
';
};
unzoom.prototype.destroy = function() {