Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

[navigation] path.makeUrlAbsolute: If no absUrl is given, use documen…

…tBase
  • Loading branch information...
commit 715f11e49a5b66c0787b8632f5eccde2d672731e 1 parent 9920ea5
@gabrielschulhof gabrielschulhof authored
Showing with 4 additions and 0 deletions.
  1. +4 −0 js/jquery.mobile.navigation.js
View
4 js/jquery.mobile.navigation.js
@@ -139,6 +139,10 @@ define( [
return relUrl;
}
+ if ( absUrl === undefined ) {
+ absUrl = documentBase;
+ }
+
var relObj = path.parseUrl( relUrl ),
absObj = path.parseUrl( absUrl ),
protocol = relObj.protocol || absObj.protocol,
Please sign in to comment.
Something went wrong with that request. Please try again.