mirror of
https://github.com/Hopiu/jquery-mobile.git
synced 2026-04-25 16:44:43 +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
|
//set the generated BASE element's href attribute to a new page's base path
|
||||||
reset: function() {
|
reset: function() {
|
||||||
base.element.attr( "href", docBase );
|
base.element.attr( "href", initialPath );
|
||||||
}
|
}
|
||||||
|
|
||||||
} : undefined;
|
} : undefined;
|
||||||
|
|
@ -866,4 +866,4 @@
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
})( jQuery );
|
})( jQuery );
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue