This commit is contained in:
parent
22a967919c
commit
18c2b82773
|
@ -32144,13 +32144,19 @@
|
||||||
var node=this.node.name;
|
var node=this.node.name;
|
||||||
if(node.offsetHeight<node.scrollHeight){
|
if(node.offsetHeight<node.scrollHeight){
|
||||||
var that=this;
|
var that=this;
|
||||||
|
var num=40;
|
||||||
that.buttonscrollinterval=setInterval(function(){
|
that.buttonscrollinterval=setInterval(function(){
|
||||||
if(node.scrollTop+node.offsetHeight>=node.scrollHeight){
|
if(node.scrollTop+node.offsetHeight>=node.scrollHeight){
|
||||||
clearInterval(that.buttonscrollinterval);
|
clearInterval(that.buttonscrollinterval);
|
||||||
delete that.buttonscrollinterval;
|
delete that.buttonscrollinterval;
|
||||||
}
|
}
|
||||||
else{
|
else{
|
||||||
node.scrollTop+=2;
|
if(num>0){
|
||||||
|
num--;
|
||||||
|
}
|
||||||
|
else{
|
||||||
|
node.scrollTop+=2;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
},16);
|
},16);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue