Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fix for Issue 1578 - Can't load file:// pages

This was caused by this checkin:

4b4ee54

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.
  • Loading branch information...
commit e775f5e83a2b769479baeacc79c6912b381f5950 1 parent 4b4ee54
@jblas jblas authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 js/jquery.mobile.navigation.js
View
4 js/jquery.mobile.navigation.js
@@ -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 );
Please sign in to comment.
Something went wrong with that request. Please try again.