Skip to content

Commit

Permalink
Update: Wait for navigation bar to render
Browse files Browse the repository at this point in the history
  • Loading branch information
oliverfoster authored Aug 24, 2023
2 parents f935276 + 90fbad0 commit 5ee7021
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion js/adapt-close.js
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ define([
Adapt.on('app:languageChanged', function () {
$(window).off('beforeunload.close');
// have to wait until the navbar is ready
Adapt.once('router:location', initialise);
Adapt.once('navigationView:postRender', initialise);
});
});
});

0 comments on commit 5ee7021

Please sign in to comment.