Commit 0258271d authored by David Schnur's avatar David Schnur

Prevent i from being declared global in extractRange (issue 627)

parent be0799cf
......@@ -50,6 +50,8 @@ Bug fixes
(reported by Ara Anjargolian).
- Fix bug with formats in the data processor (reported by Peter Hull,
issue 534).
- Prevent i from being declared global in extractRange (reported by
Alexander Obukhov, issue 627).
Flot 0.7
......
......@@ -1483,7 +1483,7 @@
function extractRange(ranges, coord) {
var axis, from, to, key, axes = allAxes();
for (i = 0; i < axes.length; ++i) {
for (var i = 0; i < axes.length; ++i) {
axis = axes[i];
if (axis.direction == coord) {
key = coord + axis.n + "axis";
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment