diff options
author | John McLear <john@mclear.co.uk> | 2015-04-29 15:48:10 +0100 |
---|---|---|
committer | John McLear <john@mclear.co.uk> | 2015-04-29 15:48:10 +0100 |
commit | 4b4a121f081a1de052a7bfa06b2ef06cd26a9433 (patch) | |
tree | 534f1230267b3aa34e30c2eb480bca29e6af80b1 | |
parent | ac41d150c00e40c06fad519b3ccac6d40f033659 (diff) | |
parent | 74ad7a858448b461da425ed84d56e9cea892a025 (diff) | |
download | etherpad-lite-4b4a121f081a1de052a7bfa06b2ef06cd26a9433.zip |
Merge pull request #2643 from AlexanderS/fix-timeslider-export
timeslider: Fix export links
-rw-r--r-- | src/static/js/timeslider.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/static/js/timeslider.js b/src/static/js/timeslider.js index 75c20022..08d6f68d 100644 --- a/src/static/js/timeslider.js +++ b/src/static/js/timeslider.js @@ -147,7 +147,7 @@ function handleClientVars(message) // export_links is a jQuery Array, so .each is allowed. export_links.each(function() { - this.setAttribute('href', this.href.replace( /(.+?)\/\w+\/(\d+\/)?export/ , '$1/' + padId + '/' + revno + '/export')); + this.setAttribute('href', this.href.replace( /(.+?)\/[^\/]+\/(\d+\/)?export/ , '$1/' + padId + '/' + revno + '/export')); }); }); |