nodebb-plugin-ezoic-infinite 1.7.48 → 1.7.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/package.json +1 -1
- package/public/client.js +3 -0
package/package.json
CHANGED
package/public/client.js
CHANGED
|
@@ -526,6 +526,9 @@
|
|
|
526
526
|
const wrap = ph?.closest?.(`.${WRAP_CLASS}`);
|
|
527
527
|
if (!wrap || !ph?.isConnected) return;
|
|
528
528
|
if (parseInt(wrap.getAttribute(A_SHOWN) || '0', 10) > showTs) return;
|
|
529
|
+
// is-empty désactivé pour ezoic-ad-between : Ezoic peut prendre >20s
|
|
530
|
+
// à charger sur liste de catégorie — collapse prématuré des wraps.
|
|
531
|
+
if (wrap.classList.contains('ezoic-ad-between')) return;
|
|
529
532
|
wrap.classList.toggle('is-empty', !isFilled(ph));
|
|
530
533
|
} catch (_) {}
|
|
531
534
|
}, EMPTY_CHECK_MS);
|