Toolbar: Fix timeslider button
Wouldn't play nice with url params in document.location fixes #2124
This commit is contained in:
parent
874181ce3b
commit
6b5e3ea3a5
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue