nodebb-plugin-ezoic-infinite 1.4.83 → 1.4.85

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 +2 -3
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "nodebb-plugin-ezoic-infinite",
3
- "version": "1.4.83",
3
+ "version": "1.4.85",
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
@@ -809,10 +809,9 @@
809
809
  $(window).on('action:ajaxify.end.ezoicInfinite', () => {
810
810
  state.pageKey = getPageKey();
811
811
 
812
- // Débloquer Ezoic après délai pour laisser DOM se stabiliser
813
- setTimeout(() => {
812
+ // Débloquer Ezoic IMMÉDIATEMENT pour la nouvelle page
813
+ console.log('[NODEBB-EZOIC] ajaxify.end - Déblocage Ezoic');
814
814
  EZOIC_BLOCKED = false;
815
- }, 200);
816
815
 
817
816
  ensureObserver();
818
817