nodebb-plugin-ezoic-infinite 1.5.46 → 1.5.47

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 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "nodebb-plugin-ezoic-infinite",
3
- "version": "1.5.46",
3
+ "version": "1.5.47",
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
@@ -266,7 +266,7 @@ function mutationHasRelevantAddedNodes(mutations) {
266
266
  const orig = ez.showAds;
267
267
 
268
268
  ez.showAds = function (...args) {
269
- if (isBlocked()) { try { clearTimeout(hardTimer); } catch (e) {} release(); return; }
269
+ if (isBlocked()) { return; }
270
270
 
271
271
  let ids = [];
272
272
  if (args.length === 1 && Array.isArray(args[0])) ids = args[0];