Toolbar: Fix timeslider button

Wouldn't play nice with url params in document.location
fixes #2124
This commit is contained in:
Marcel Klehr 2014-03-31 20:50:01 +02:00
parent 874181ce3b
commit 6b5e3ea3a5
1 changed files with 1 additions and 1 deletions

View File

@ -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);