* Fixed merge oops
This commit is contained in:
parent
72ca7d98d5
commit
7b00aa8081
1 changed files with 2 additions and 2 deletions
|
|
@ -728,7 +728,7 @@ var VirtualRenderer = function(container, theme) {
|
|||
this.STEPS = 10;
|
||||
this.$calcSteps = function(fromValue, toValue){
|
||||
var i = 0;
|
||||
var l = STEPS;
|
||||
var l = this.STEPS;
|
||||
var steps = [];
|
||||
|
||||
var func = function(t, x_min, dx) {
|
||||
|
|
@ -759,7 +759,7 @@ var VirtualRenderer = function(container, theme) {
|
|||
this.$timer = setInterval(function() {
|
||||
_self.session.setScrollTop(steps[i]);
|
||||
|
||||
if (++i == STEPS + 1)
|
||||
if (++i == this.STEPS + 1)
|
||||
clearInterval(_self.$timer);
|
||||
}, 10);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue