nodebb-plugin-ezoic-infinite 1.7.59 → 1.7.61
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 +1 -1
- package/public/client.js +9 -2
package/package.json
CHANGED
package/public/client.js
CHANGED
|
@@ -403,8 +403,15 @@
|
|
|
403
403
|
window.ezstandalone = window.ezstandalone || {};
|
|
404
404
|
const ez = window.ezstandalone;
|
|
405
405
|
const doShow = () => {
|
|
406
|
-
|
|
407
|
-
|
|
406
|
+
// define + displayMore remettent le slot en état actif si Ezoic l'a oublié
|
|
407
|
+
try { ez.define([id]); } catch (_) {}
|
|
408
|
+
setTimeout(() => {
|
|
409
|
+
try { ez.displayMore([id]); } catch (_) {}
|
|
410
|
+
setTimeout(() => {
|
|
411
|
+
try { ez.showAds(id); } catch (_) {}
|
|
412
|
+
setTimeout(() => { clearTimeout(timer); release(); }, 700);
|
|
413
|
+
}, 200);
|
|
414
|
+
}, 200);
|
|
408
415
|
};
|
|
409
416
|
Array.isArray(ez.cmd) ? ez.cmd.push(doShow) : doShow();
|
|
410
417
|
} catch (_) { clearTimeout(timer); release(); }
|