mirror of
https://framagit.org/fiat-tux/hat-softwares/lutim.git
synced 2026-08-07 17:33:03 +02:00
Fix #65
This commit is contained in:
@@ -534,7 +534,7 @@ sub short {
|
||||
}
|
||||
|
||||
my $test;
|
||||
if (defined($touit)) {
|
||||
if (defined($touit) && $image->mediatype !~ m/svg/) {
|
||||
$test = 1;
|
||||
my $short = $image->short;
|
||||
$short .= '/'.$key if (defined($key));
|
||||
|
||||
@@ -172,9 +172,9 @@ function buildMessage(success, msg) {
|
||||
'<div class="alert alert-danger">',
|
||||
'<button type="button" class="close" data-dismiss="alert" aria-hidden="true">×</button>',
|
||||
'<strong><%= l('Something bad happened') %></strong><br>',
|
||||
msg.filename,
|
||||
cleanName(msg.filename, false),
|
||||
'<br>',
|
||||
msg.msg,
|
||||
cleanName(msg.msg, false),
|
||||
'</div>'
|
||||
].join('');
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user