You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is not an issue, I just want to share my solution for this problem that took me a while to figure out how to fix.
The problem can be common, there are some people reporting issues with the router being initialized 'late' after jQuery mobile events happened. I tried to create the JQM router as soon as possible but still wasn't able to do it before the page events trigger.
The solution was very simple, just disabled the autoInitializePage option like this:
$.mobile.autoInitializePage = false;
And then after initialising the router call it manually.
This is not an issue, I just want to share my solution for this problem that took me a while to figure out how to fix.
The problem can be common, there are some people reporting issues with the router being initialized 'late' after jQuery mobile events happened. I tried to create the JQM router as soon as possible but still wasn't able to do it before the page events trigger.
The solution was very simple, just disabled the
autoInitializePage
option like this:And then after initialising the router call it manually.
Here is a simple example:
The main.js
The app.js
The router.js
The jquerymobile.config.js
The text was updated successfully, but these errors were encountered: