Commit 973ed2f5 authored by Alexander.Trofimov's avatar Alexander.Trofimov

fix bug 34221

parent 7201d6d9
...@@ -61,7 +61,7 @@ ...@@ -61,7 +61,7 @@
res.pivot = this.pivot; res.pivot = this.pivot;
if (this.ranges) { if (this.ranges) {
res.ranges = []; res.ranges = [];
for (var i = 0; i < this.ranges; ++i) { for (i = 0; i < this.ranges.length; ++i) {
res.ranges.push(this.ranges[i].clone()); res.ranges.push(this.ranges[i].clone());
} }
} }
......
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