diff options
-rw-r--r-- | .autoindex/breadcrumbs.js | 2 | ||||
-rw-r--r-- | .autoindex/script.js | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/.autoindex/breadcrumbs.js b/.autoindex/breadcrumbs.js index 0d2b2e7..8b3dc57 100644 --- a/.autoindex/breadcrumbs.js +++ b/.autoindex/breadcrumbs.js @@ -1,4 +1,4 @@ -var parts = document.URL.split('/'); +var parts = decodeURI(document.URL).split('/'); parts.pop(); // remove last element diff --git a/.autoindex/script.js b/.autoindex/script.js index 2ff2510..9145dc5 100644 --- a/.autoindex/script.js +++ b/.autoindex/script.js @@ -1,4 +1,4 @@ -document.title = document.URL; // set page title to full URL +document.title = decodeURI(document.URL); // set page title to full URL $('table').addClass('table'); // add Bootstrap CSS to table |