Fix wrong variable name

This commit is contained in:
Nathan Sobo 2017-03-22 15:08:37 -06:00 committed by Antonio Scandurra
parent 251078da10
commit 90452836fe

View File

@ -1746,8 +1746,8 @@ function setScrollTop (component, scrollTop) {
return component.getNextUpdatePromise()
}
function setScrollLeft (component, scrollTop) {
component.setScrollLeft(scrollTop)
function setScrollLeft (component, scrollLeft) {
component.setScrollLeft(scrollLeft)
component.scheduleUpdate()
return component.getNextUpdatePromise()
}