Merge branch 'feature_jquery' into timeslider_authors

pull/591/head
Matthias Bartelmeß 2012-03-24 19:01:39 +01:00
commit db67080ee9
1 changed files with 2 additions and 1 deletions

View File

@ -139,7 +139,8 @@ function handleClientVars(message)
var export_rev_regex = /(\/\d+)?\/export/ var export_rev_regex = /(\/\d+)?\/export/
BroadcastSlider.onSlider(function(revno) 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')); this.setAttribute('href', this.href.replace(export_rev_regex, '/' + revno + '/export'));
}); });