summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMatthias Bartelmeß <mba@fourplusone.de>2012-03-24 19:01:39 +0100
committerMatthias Bartelmeß <mba@fourplusone.de>2012-03-24 19:01:39 +0100
commitdb67080ee97634deb2f3b285330bd4286574f4b4 (patch)
tree07cc5c0259ead2ef0ee2322ca38ffaf1675d4c81 /src
parent1789c6e1c5c255397fbd918efdf339c6e1bf0510 (diff)
parent1478820d604a367896c58d7db729b7767cd2dab8 (diff)
downloadetherpad-lite-db67080ee97634deb2f3b285330bd4286574f4b4.zip
Merge branch 'feature_jquery' into timeslider_authors
Diffstat (limited to 'src')
-rw-r--r--src/static/js/timeslider.js3
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'));
});