We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents ea3b08c + 0ccfcb6 commit 8c8b54eCopy full SHA for 8c8b54e
src/instances/parallax.js
@@ -226,7 +226,7 @@ class ParallaxInstance {
226
}
227
228
// sometime the same percentage is returned
229
- // if so we don't do aything
+ // if so we don't do anything
230
if (this.oldPercentage === percentage) {
231
return false;
232
@@ -241,7 +241,7 @@ class ParallaxInstance {
241
this.translateValue = ((percentage / 100) * this.rangeMax - this.rangeMax / 2).toFixed(0);
242
243
// sometime the same translate value is returned
244
245
if (this.oldTranslateValue === this.translateValue) {
246
247
0 commit comments