mirror of
https://github.com/Hopiu/jquery-mobile.git
synced 2026-04-03 06:10:24 +00:00
Fix for Issue 1195 - base href getting incorrectly set to include extra "/"
- Added code to base.set() that strips any leading slash from the path returned from path.get().
This commit is contained in:
parent
9bd530b1fa
commit
d612edd126
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue