Fix new page default dir.

This commit is contained in:
bootstraponline
2012-08-06 15:57:46 -06:00
parent 88a3783bbc
commit 5fa4b48d85
@@ -157,7 +157,7 @@ $(document).ready(function() {
var path = location.pathname;
// ensure there's more than one slash in pathname.
if (path.split('/').length > 2) {
path = path.substr(path.lastIndexOf('/')+1) + '/';
path = path.substr(0, path.lastIndexOf('/') + 1);
} else {
path = '';
}