diff options
author | Marcel Klehr <mklehr@gmx.net> | 2014-03-30 13:02:41 +0200 |
---|---|---|
committer | Marcel Klehr <mklehr@gmx.net> | 2014-03-30 13:02:41 +0200 |
commit | 6054cda473945dbe583621df3ab6ae5a3b35ac37 (patch) | |
tree | 2d7e1dc6565a913c35d0448537802a16eca4684c /src/static/js/timeslider.js | |
parent | 867e40533a13e564cc89449c6640c7a973093d31 (diff) | |
download | etherpad-lite-6054cda473945dbe583621df3ab6ae5a3b35ac37.zip |
Create a customizable timeslider toolbar
Diffstat (limited to 'src/static/js/timeslider.js')
-rw-r--r-- | src/static/js/timeslider.js | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/src/static/js/timeslider.js b/src/static/js/timeslider.js index fd22c69a..b3c10b8a 100644 --- a/src/static/js/timeslider.js +++ b/src/static/js/timeslider.js @@ -95,12 +95,6 @@ function init() { //get all the export links export_links = $('#export > .exportlink') - if(document.referrer.length > 0 && document.referrer.substring(document.referrer.lastIndexOf("/")-1,document.referrer.lastIndexOf("/")) === "p") { - $("#returnbutton").attr("href", document.referrer); - } else { - $("#returnbutton").attr("href", document.location.href.substring(0,document.location.href.lastIndexOf("/"))); - } - $('button#forcereconnect').click(function() { window.location.reload(); |