From 1478820d604a367896c58d7db729b7767cd2dab8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Matthias=20Bartelme=C3=9F?= Date: Sat, 24 Mar 2012 19:01:04 +0100 Subject: [PATCH] fixed error foreach error in timeslider.js --- src/static/js/timeslider.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/static/js/timeslider.js b/src/static/js/timeslider.js index 5d173276f..438b1695f 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')); });