diff options
author | Marcel Klehr <mklehr@gmx.net> | 2014-03-31 20:50:01 +0200 |
---|---|---|
committer | Marcel Klehr <mklehr@gmx.net> | 2014-03-31 20:50:01 +0200 |
commit | 6b5e3ea3a521f830161d56878b36d14ef381d32d (patch) | |
tree | 327c990758a591afac762dc5daee821bebd529db /src | |
parent | 874181ce3ba1aba06ad6a3ad266f4fd780275c9e (diff) | |
download | etherpad-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.js | 2 |
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); |