diff options
-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')); }); |