aw-front-helpers 2.5.3 → 2.5.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/classes/sticky.js CHANGED
@@ -30,12 +30,12 @@ export default class Sticky extends EventEmitter {
30
30
  return this._options;
31
31
  }
32
32
 
33
- set breakpointDisabled( breakpoint ) {
33
+ set breakpointDisabled(breakpoint) {
34
34
  this._options.breakpointDisabled = breakpoint;
35
35
  this.update();
36
36
  }
37
37
 
38
- set topHeightAdjustement( height ) {
38
+ set topHeightAdjustement(height) {
39
39
  this._options.topHeightAdjustement = height;
40
40
  this.update();
41
41
  }
@@ -121,7 +121,7 @@ export default class Sticky extends EventEmitter {
121
121
  wrapperTop: boudingWrapper.top + this._vars.scrollY,
122
122
  wrapperHeight: boudingWrapper.height,
123
123
  };
124
- if (boudingContainer.height <= boudingWrapper.height) {
124
+ if (boudingWrapper.height <= boudingContainer.height) {
125
125
  this._setDisabled();
126
126
  return;
127
127
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "aw-front-helpers",
3
- "version": "2.5.3",
3
+ "version": "2.5.4",
4
4
  "description": "Assets helpers for projects",
5
5
  "author": "Yoann Le Poupon",
6
6
  "license": "ISC",