minor fixes
This commit is contained in:
parent
cbd7d7831c
commit
72aa4f0b97
2 changed files with 3 additions and 1 deletions
|
@ -29,7 +29,7 @@ And stood awhile in thought.
|
|||
timing: bounce,
|
||||
draw: function(progress) {
|
||||
let result = (to - from) * progress + from;
|
||||
textArea.value = text.substr(0, Math.ceil(result))
|
||||
textArea.value = text.slice(0, Math.ceil(result))
|
||||
}
|
||||
});
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue