Skip to content
This repository was archived by the owner on Oct 8, 2021. It is now read-only.

Commit 9b6cd5b

Browse files
committed
use existing api property name for consistency
1 parent 0ba0452 commit 9b6cd5b

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

js/jquery.mobile.navigation.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -993,11 +993,11 @@ define( [
993993
// in the event bindings for the page life cycle See issue #5085
994994
if ( isString ) {
995995
// if the toPage is a string simply convert it
996-
triggerData.url = path.makeUrlAbsolute( toPage, findBaseWithDefault() );
996+
triggerData.absUrl = path.makeUrlAbsolute( toPage, findBaseWithDefault() );
997997
} else {
998998
// if the toPage is a jQuery object grab the absolute url stored
999999
// in the loadPage callback where it exists
1000-
triggerData.url = toPage.data( 'absoluteUrl' );
1000+
triggerData.absUrl = toPage.data( 'absUrl' );
10011001
}
10021002

10031003
// Let listeners know we're about to change the current page.
@@ -1031,7 +1031,7 @@ define( [
10311031

10321032
// store the original absolute url so that it can be provided
10331033
// to events in the triggerData
1034-
newPage.data( 'absoluteUrl', triggerData.url );
1034+
newPage.data( 'absUrl', triggerData.url );
10351035
$.mobile.changePage( newPage, options );
10361036
})
10371037
.fail(function( url, options ) {

0 commit comments

Comments
 (0)