diff --git a/static/timeslider.html b/static/timeslider.html index 19cb7d23a..6c6ab8509 100644 --- a/static/timeslider.html +++ b/static/timeslider.html @@ -52,7 +52,7 @@ $(window).load(function () { //get the padId out of the url - var urlParts= document.pathname.split("/"); + var urlParts= document.location.pathname.split("/"); padId = urlParts[urlParts.length-2]; //set the title