summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMarcel Klehr <mklehr@gmx.net>2014-03-31 20:50:01 +0200
committerMarcel Klehr <mklehr@gmx.net>2014-03-31 20:50:01 +0200
commit6b5e3ea3a521f830161d56878b36d14ef381d32d (patch)
tree327c990758a591afac762dc5daee821bebd529db /src
parent874181ce3ba1aba06ad6a3ad266f4fd780275c9e (diff)
downloadetherpad-lite-6b5e3ea3a521f830161d56878b36d14ef381d32d.zip
Toolbar: Fix timeslider button
Wouldn't play nice with url params in document.location fixes #2124
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);