mirror of
https://github.com/RaspbianFrance/raspisms.git
synced 2025-04-21 00:46:27 +02:00
refactor all media create to centralise copy of medias and save, etc.
This commit is contained in:
parent
92146ba8e1
commit
04a40049ce
18 changed files with 400 additions and 367 deletions
|
@ -87,7 +87,7 @@
|
|||
}
|
||||
else
|
||||
{
|
||||
return '<div class="discussion-message-media"><a href="' + mediaUrl + '" target="_blank">Voir le fichier ' + (index + 1) + '</a></div>';
|
||||
return '<div class="discussion-message-media"><a href="' + mediaUrl + '" target="_blank">Voir le fichier ' + ((int)index + 1) + '</a></div>';
|
||||
}
|
||||
});
|
||||
var medias_html = '<div class="discussion-message-medias">' + medias.join('') + '</div>';
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue