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