A bug in JQuery Mobile: When you do not use Ajax and his own back, that is, when you click the browser Back button, it will load the page from the cache, at which point the annoying loading animation comes out and never disappears. Online find a lot of solutions, search for a long time did not use, and today suddenly remembered to a drastic, direct move Jqeury-mobile class library.
Open With editor,
Find the way to display pageloading, Showpageloadingmsg's definition:
Then add a code, if ("" "length<5) return, let this method fail.
Copy Code code as follows:
Showpageloadingmsg:function () {if ("". length<5) return;
Save, refresh the test. Remember the best not to appear in Chinese, or you need to modify the JS file encoding format.
OK, Fix it.
But personally, if you need to use that method later, there is no way, no work. The solution can be: pollution, coupled with the global variable judgment, that is, set a global variable, in this method to make if judgments, whether forced to return.
If you have any questions, please feel free to contact me. qq:551996458. Of course, I am also very good at food.