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.
1 parent ea3b08c commit 0ccfcb6Copy full SHA for 0ccfcb6
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