Skip to content

Commit cb6a2c1

Browse files
Demos: Replaced pageinit by pagecreate
Fixes jquery-archivegh-6954
1 parent 18a3cd6 commit cb6a2c1

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

demos/listview-autocomplete-remote/index.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
<script src="../_assets/js/"></script>
1313
<script src="../../js/"></script>
1414
<script>
15-
$( document ).on( "pageinit", "#myPage", function() {
15+
$( document ).on( "pagecreate", "#myPage", function() {
1616
$( "#autocomplete" ).on( "filterablebeforefilter", function ( e, data ) {
1717
var $ul = $( this ),
1818
$input = $( data.input ),

demos/map-geolocation/index.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
* Geolocation documentation: http://dev.w3.org/geo/api/spec-source.html
2222
*/
2323

24-
$( document ).on( "pageinit", "#map-page", function() {
24+
$( document ).on( "pagecreate", "#map-page", function() {
2525
var defaultLatLng = new google.maps.LatLng(34.0983425, -118.3267434); // Default to Hollywood, CA when no geolocation support
2626

2727
if ( navigator.geolocation ) {

demos/pages/samepagetransition.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ <h1>same page transitions</h1>
5353
</div><!-- /footer 1 -->
5454

5555
<script>
56-
$('#page1').on('pageinit', function() {
56+
$('#page1').on('pagecreate', function() {
5757

5858
$('a').bind('click', function(e) {
5959
var trans = $(this).text() || 'none',

0 commit comments

Comments
 (0)