@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.cjs
CHANGED
|
@@ -11067,6 +11067,7 @@ function OhhwellsBridge() {
|
|
|
11067
11067
|
const ZONE = 20;
|
|
11068
11068
|
for (let i = 0; i < sections.length; i++) {
|
|
11069
11069
|
const a = sections[i];
|
|
11070
|
+
if (a.dataset.ohwSection === "footer") continue;
|
|
11070
11071
|
const b = sections[i + 1] ?? null;
|
|
11071
11072
|
const boundaryY = a.getBoundingClientRect().bottom;
|
|
11072
11073
|
if (Math.abs(y - boundaryY) <= ZONE) {
|