nodebb-plugin-ezoic-infinite 1.4.31 → 1.4.32
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 +3 -8
package/package.json
CHANGED
package/public/client.js
CHANGED
|
@@ -651,16 +651,11 @@
|
|
|
651
651
|
$(window).on('action:ajaxify.start.ezoicInfinite', () => cleanup());
|
|
652
652
|
|
|
653
653
|
$(window).on('action:ajaxify.end.ezoicInfinite', () => {
|
|
654
|
-
console.log('[AJAXIFY] ajaxify.end - pageKey
|
|
654
|
+
console.log('[AJAXIFY] ajaxify.end - juste update pageKey');
|
|
655
655
|
state.pageKey = getPageKey();
|
|
656
656
|
ensureObserver();
|
|
657
|
-
|
|
658
|
-
//
|
|
659
|
-
setTimeout(() => {
|
|
660
|
-
console.log('[AJAXIFY] Après 500ms, appel waitForEzoicThenRun');
|
|
661
|
-
// Puis attendre que Ezoic soit prêt (comme au chargement initial)
|
|
662
|
-
waitForEzoicThenRun();
|
|
663
|
-
}, 500);
|
|
657
|
+
// NE RIEN FAIRE d'autre ici
|
|
658
|
+
// Les hooks category.loaded/topics.loaded/etc. vont déclencher scheduleRun
|
|
664
659
|
});
|
|
665
660
|
|
|
666
661
|
$(window).on('action:category.loaded.ezoicInfinite', () => {
|