@ohhwells/bridge 0.1.48 → 0.1.49
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/dist/index.cjs +1 -0
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +1 -0
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -11005,6 +11005,7 @@ function OhhwellsBridge() {
|
|
|
11005
11005
|
const ZONE = 20;
|
|
11006
11006
|
for (let i = 0; i < sections.length; i++) {
|
|
11007
11007
|
const a = sections[i];
|
|
11008
|
+
if (a.dataset.ohwSection === "footer") continue;
|
|
11008
11009
|
const b = sections[i + 1] ?? null;
|
|
11009
11010
|
const boundaryY = a.getBoundingClientRect().bottom;
|
|
11010
11011
|
if (Math.abs(y - boundaryY) <= ZONE) {
|