diff --git a/js/jquery.mobile.navigation.js b/js/jquery.mobile.navigation.js index ab49ea6bbed..2d1630a3bdb 100644 --- a/js/jquery.mobile.navigation.js +++ b/js/jquery.mobile.navigation.js @@ -178,7 +178,7 @@ //set the generated BASE element's href attribute to a new page's base path set: function( href ){ - base.element.attr('href', docBase + path.get( href )); + base.element.attr('href', docBase + path.get( href ).replace(/^\//, "")); }, //set the generated BASE element's href attribute to a new page's base path