mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-01-19 22:23:33 +01:00
fixed error foreach error in timeslider.js
This commit is contained in:
parent
cf1be9b4bf
commit
1478820d60
1 changed files with 2 additions and 1 deletions
|
@ -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'));
|
||||
});
|
||||
|
|
Loading…
Reference in a new issue