nodebb-plugin-ezoic-infinite 1.7.80 → 1.7.81

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.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/public/client.js +1 -6
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "nodebb-plugin-ezoic-infinite",
3
- "version": "1.7.80",
3
+ "version": "1.7.81",
4
4
  "description": "Production-ready Ezoic infinite ads integration for NodeBB 4.x",
5
5
  "main": "library.js",
6
6
  "license": "MIT",
package/public/client.js CHANGED
@@ -446,12 +446,7 @@
446
446
  S.lastShow.set(id, t);
447
447
  try { ph.closest?.(`.${WRAP_CLASS}`)?.classList.remove('is-empty'); } catch (_) {}
448
448
  ezCmd(ez => {
449
- // displayMore = API Ezoic documentée pour l'infinite scroll
450
- // Évite le passage en 'unused' que showAds cause sur les slots dynamiques
451
- try {
452
- if (typeof ez.displayMore === 'function') ez.displayMore([id]);
453
- else ez.showAds(id);
454
- } catch (_) { try { ez.showAds(id); } catch (_) {} }
449
+ try { ez.showAds(id); } catch (_) {}
455
450
  scheduleEmptyCheck(id);
456
451
  setTimeout(() => { clearTimeout(timer); release(); }, 700);
457
452
  });