summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/static/js/pad_editbar.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/static/js/pad_editbar.js b/src/static/js/pad_editbar.js
index 9d42cba7..85963217 100644
--- a/src/static/js/pad_editbar.js
+++ b/src/static/js/pad_editbar.js
@@ -285,7 +285,7 @@ var padeditbar = (function()
});
toolbar.registerCommand("showTimeSlider", function () {
- document.location = document.location + "/timeslider";
+ document.location = document.location.pathname+ '/timeslider';
});
toolbar.registerAceCommand("bold", aceAttributeCommand);