nodebb-plugin-ezoic-infinite 1.8.86 → 1.8.87

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 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "nodebb-plugin-ezoic-infinite",
3
- "version": "1.8.86",
3
+ "version": "1.8.87",
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
@@ -713,7 +713,8 @@
713
713
  S.wrapByKey.clear();
714
714
  S.wrapsByClass.clear();
715
715
  S.kind = null;
716
- S.ezEnabled = false;
716
+ // S.ezEnabled intentionally NOT reset: ez.define()+ez.enable() must be called
717
+ // only once per full page load, not on every SPA navigation.
717
718
  S.inflight = 0;
718
719
  S.pending.clear();
719
720
  S.burstActive = false;