nodebb-plugin-ezoic-infinite 1.8.92 → 1.8.93
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 +5 -3
package/package.json
CHANGED
package/public/client.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* NodeBB Ezoic Infinite Ads — client.js v2.5.
|
|
2
|
+
* NodeBB Ezoic Infinite Ads — client.js v2.5.1
|
|
3
3
|
*
|
|
4
4
|
* Architecture: proven v50 core + targeted improvements.
|
|
5
5
|
* Ezoic API: showAds() + destroyPlaceholders() per official docs.
|
|
@@ -904,8 +904,10 @@
|
|
|
904
904
|
return;
|
|
905
905
|
}
|
|
906
906
|
|
|
907
|
-
// Normal exit: placeholders mounted, no reload triggered (healthy load)
|
|
908
|
-
if (
|
|
907
|
+
// Normal exit: placeholders mounted, no reload triggered (healthy load).
|
|
908
|
+
// Exception: if Ezoic status is stuck (not absent and not 'complete'), continue
|
|
909
|
+
// so crash detection below can trigger the sa.min.js reload.
|
|
910
|
+
if (S.mountedIds.size > 0 && !_scriptReloaded && (!status || status === 'complete')) return;
|
|
909
911
|
// Exit once reload is done and re-show has been triggered
|
|
910
912
|
if (_scriptReloaded && _postReloadShown) return;
|
|
911
913
|
|