diff options
author | Matthias Bartelmeß <mba@fourplusone.de> | 2012-03-24 19:01:39 +0100 |
---|---|---|
committer | Matthias Bartelmeß <mba@fourplusone.de> | 2012-03-24 19:01:39 +0100 |
commit | db67080ee97634deb2f3b285330bd4286574f4b4 (patch) | |
tree | 07cc5c0259ead2ef0ee2322ca38ffaf1675d4c81 /src | |
parent | 1789c6e1c5c255397fbd918efdf339c6e1bf0510 (diff) | |
parent | 1478820d604a367896c58d7db729b7767cd2dab8 (diff) | |
download | etherpad-lite-db67080ee97634deb2f3b285330bd4286574f4b4.zip |
Merge branch 'feature_jquery' into timeslider_authors
Diffstat (limited to 'src')
-rw-r--r-- | src/static/js/timeslider.js | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/static/js/timeslider.js b/src/static/js/timeslider.js index 5d173276..438b1695 100644 --- a/src/static/js/timeslider.js +++ b/src/static/js/timeslider.js @@ -139,7 +139,8 @@ function handleClientVars(message) var export_rev_regex = /(\/\d+)?\/export/ BroadcastSlider.onSlider(function(revno) { - _.each(export_links, function() + // export_links is a jQuery Array, so .each is allowed. + export_links.each(function() { this.setAttribute('href', this.href.replace(export_rev_regex, '/' + revno + '/export')); }); |