diff --git a/plugin.js b/plugin.js index 805bc22..39baccb 100644 --- a/plugin.js +++ b/plugin.js @@ -136,8 +136,8 @@ comp._movies = movies; console.log('[mymovies] loaded', movies.length, 'films'); renderMovies($(grid), movies); - // re-apply navigation if activity already started - if (comp.activity && comp.activity.ready) comp.start(); + // re-apply navigation once cards exist (activity.start may have run before load) + comp.start(); }); return html;