always re-apply nav after catalog load (activity.start runs before async load)
This commit is contained in:
1 parent
b7b0d209dd
commit
85d8f32f37
1 file changed
+2
-2
@@ -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;
|
||||
|
||||
Reference in new issue
Block a user