Commit 875747f1 authored by Seth Gilbert's avatar Seth Gilbert

made adding on the back of the url more flexible.

parent b110c350
......@@ -82,8 +82,10 @@ document.addEventListener('DOMContentLoaded', function() {
var fullPath = parts.join("/");
//add back the hash and query if they exist.
fullPath = fullPath + (mainParts[1] || "") + (mainParts[2] || "");
var addOns = mainParts.slice(1);
if(addOns) {
fullPath = fullPath + addOns.join("");
}
return fullPath;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment