mirror of
https://github.com/Hopiu/jquery-mobile.git
synced 2026-03-16 22:10:25 +00:00
Fix for Issue 1578 - Can't load file:// pages
This was caused by this checkin:
4b4ee54a72
The change caused the base tag to be reset to file:// (literally with no path).
All that was missing was a small tweak to base.reset() to use the new initialPath variable instead of docBase.
This commit is contained in:
parent
4b4ee54a72
commit
e775f5e83a
1 changed files with 2 additions and 2 deletions
|
|
@ -240,7 +240,7 @@
|
|||
|
||||
//set the generated BASE element's href attribute to a new page's base path
|
||||
reset: function() {
|
||||
base.element.attr( "href", docBase );
|
||||
base.element.attr( "href", initialPath );
|
||||
}
|
||||
|
||||
} : undefined;
|
||||
|
|
@ -866,4 +866,4 @@
|
|||
}
|
||||
});
|
||||
|
||||
})( jQuery );
|
||||
})( jQuery );
|
||||
|
|
|
|||
Loading…
Reference in a new issue