summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--static/timeslider.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/static/timeslider.html b/static/timeslider.html
index 19cb7d23..6c6ab850 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