nodebb-plugin-ezoic-infinite 1.8.79 → 1.8.80

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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "nodebb-plugin-ezoic-infinite",
3
- "version": "1.8.79",
3
+ "version": "1.8.80",
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
@@ -659,7 +659,7 @@
659
659
  }
660
660
  S.burstCount++;
661
661
  scheduleRun(n => {
662
- if (!n && !S.pending.length) { S.burstActive = false; return; }
662
+ if (!n && !S.pending.size) { S.burstActive = false; return; }
663
663
  setTimeout(step, n > 0 ? 150 : 300);
664
664
  });
665
665
  };
@@ -30,7 +30,7 @@
30
30
  <p class="form-text">Insère des pubs entre les catégories sur la page d’accueil (liste des catégories).</p>
31
31
 
32
32
  <div class="form-check mb-3">
33
- <input class="form-check-input" type="checkbox" id="enableCategoryAds" name="enableCategoryAds">
33
+ <input class="form-check-input" type="checkbox" id="enableCategoryAds" name="enableCategoryAds" {enableCategoryAds_checked}>
34
34
  <label class="form-check-label" for="enableCategoryAds">Activer les pubs entre les catégories</label>
35
35
  <div class="form-check mt-2">
36
36
  <input class="form-check-input" type="checkbox" name="showFirstCategoryAd" {showFirstCategoryAd_checked} />