Skip to content

Commit 8c8b54e

Browse files
authored
Merge pull request #63 from timgates42/bugfix_typo_anything
docs: Fix simple typo, aything -> anything
2 parents ea3b08c + 0ccfcb6 commit 8c8b54e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/instances/parallax.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -226,7 +226,7 @@ class ParallaxInstance {
226226
}
227227

228228
// sometime the same percentage is returned
229-
// if so we don't do aything
229+
// if so we don't do anything
230230
if (this.oldPercentage === percentage) {
231231
return false;
232232
}
@@ -241,7 +241,7 @@ class ParallaxInstance {
241241
this.translateValue = ((percentage / 100) * this.rangeMax - this.rangeMax / 2).toFixed(0);
242242

243243
// sometime the same translate value is returned
244-
// if so we don't do aything
244+
// if so we don't do anything
245245
if (this.oldTranslateValue === this.translateValue) {
246246
return false;
247247
}

0 commit comments

Comments
 (0)