From 27c76e901bc744f9d871e46204931c4896ce2316 Mon Sep 17 00:00:00 2001 From: guoguangwu Date: Tue, 19 Mar 2024 09:45:47 +0800 Subject: [PATCH] fix: typo Signed-off-by: guoguangwu --- src/js/common/utilsFP.js | 4 ++-- src/js/slides/landscapeScroll.js | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/js/common/utilsFP.js b/src/js/common/utilsFP.js index cd7eb8e5e..1fa2e0709 100644 --- a/src/js/common/utilsFP.js +++ b/src/js/common/utilsFP.js @@ -91,7 +91,7 @@ export function addAnimation(element){ } /** -* Retuns `up` or `down` depending on the scrolling movement to reach its destination +* Returns `up` or `down` depending on the scrolling movement to reach its destination * from the current section. */ export function getYmovement(activeSection, destiny){ @@ -123,4 +123,4 @@ export function getTransforms(translate3d){ '-ms-transform':translate3d, 'transform': translate3d }; -} \ No newline at end of file +} diff --git a/src/js/slides/landscapeScroll.js b/src/js/slides/landscapeScroll.js index 72fe0e0ae..f93219be3 100644 --- a/src/js/slides/landscapeScroll.js +++ b/src/js/slides/landscapeScroll.js @@ -151,7 +151,7 @@ function performHorizontalMove(slides, v, fireCallback){ } /** -* Retuns `right` or `left` depending on the scrolling movement to reach its destination +* Returns `right` or `left` depending on the scrolling movement to reach its destination * from the current slide. */ function getXmovement(fromIndex, toIndex){