nodebb-plugin-ezoic-infinite 1.4.26 → 1.4.27
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 +4 -9
package/package.json
CHANGED
package/public/client.js
CHANGED
|
@@ -648,16 +648,11 @@
|
|
|
648
648
|
state.pageKey = getPageKey();
|
|
649
649
|
ensureObserver();
|
|
650
650
|
|
|
651
|
-
// Attendre que
|
|
652
|
-
// (ajaxify.end se déclenche avant que le contenu soit vraiment prêt)
|
|
651
|
+
// Attendre que le DOM soit construit par NodeBB
|
|
653
652
|
setTimeout(() => {
|
|
654
|
-
|
|
655
|
-
|
|
656
|
-
|
|
657
|
-
// Second pass pour être sûr
|
|
658
|
-
setTimeout(() => {
|
|
659
|
-
scheduleRun();
|
|
660
|
-
}, 1500);
|
|
653
|
+
// Puis attendre que Ezoic soit prêt (comme au chargement initial)
|
|
654
|
+
waitForEzoicThenRun();
|
|
655
|
+
}, 500);
|
|
661
656
|
});
|
|
662
657
|
|
|
663
658
|
$(window).on('action:category.loaded.ezoicInfinite', () => {
|