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

Commit

Permalink
use existing api property name for consistency
Browse files Browse the repository at this point in the history
  • Loading branch information
johnbender committed Oct 12, 2012
1 parent 0ba0452 commit 9b6cd5b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions js/jquery.mobile.navigation.js
Expand Up @@ -993,11 +993,11 @@ define( [
// in the event bindings for the page life cycle See issue #5085
if ( isString ) {
// if the toPage is a string simply convert it
triggerData.url = path.makeUrlAbsolute( toPage, findBaseWithDefault() );
triggerData.absUrl = path.makeUrlAbsolute( toPage, findBaseWithDefault() );
} else {
// if the toPage is a jQuery object grab the absolute url stored
// in the loadPage callback where it exists
triggerData.url = toPage.data( 'absoluteUrl' );
triggerData.absUrl = toPage.data( 'absUrl' );
}

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

// store the original absolute url so that it can be provided
// to events in the triggerData
newPage.data( 'absoluteUrl', triggerData.url );
newPage.data( 'absUrl', triggerData.url );
$.mobile.changePage( newPage, options );
})
.fail(function( url, options ) {
Expand Down

0 comments on commit 9b6cd5b

Please sign in to comment.