diff --git a/examples/mobile-jq.js b/examples/mobile-jq.js index 353a645f93..1f61582573 100644 --- a/examples/mobile-jq.js +++ b/examples/mobile-jq.js @@ -62,7 +62,7 @@ $(document).ready(function() { if ($('#query')[0].value === '') { return; } - $.mobile.pageLoading(); + $.mobile.showPageLoadingMsg(); // Prevent form send e.preventDefault(); @@ -89,7 +89,7 @@ $(document).ready(function() { .show(); }); $('#search_results').listview('refresh'); - $.mobile.pageLoading(true); + $.mobile.hidePageLoadingMsg(); }); }); // only listen to the first event triggered