Skip to content

Commit 23c3952

Browse files
committed
Added empty alt tags to images since we don’t have additional info
Signed-off-by: snipe <[email protected]>
1 parent 41f68d8 commit 23c3952

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

resources/views/partials/bootstrap-table.blade.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -842,7 +842,7 @@ function orderNumberObjFilterFormatter(value, row) {
842842
843843
function auditImageFormatter(value){
844844
if (value){
845-
return '<a href="' + value.url + '" data-toggle="lightbox" data-type="image"><img src="' + value.url + '" style="max-height: {{ $snipeSettings->thumbnail_max_h }}px; width: auto;" class="img-responsive"></a>'
845+
return '<a href="' + value.url + '" data-toggle="lightbox" data-type="image"><img src="' + value.url + '" style="max-height: {{ $snipeSettings->thumbnail_max_h }}px; width: auto;" class="img-responsive" alt=""></a>'
846846
}
847847
}
848848
@@ -872,7 +872,7 @@ function downloadFormatter(value) {
872872
873873
function fileUploadFormatter(value) {
874874
if ((value) && (value.url) && (value.inlineable)) {
875-
return '<a href="' + value.url + '" data-toggle="lightbox" data-type="image"><img src="' + value.url + '" style="max-height: {{ $snipeSettings->thumbnail_max_h }}px; width: auto;" class="img-responsive"></a>';
875+
return '<a href="' + value.url + '" data-toggle="lightbox" data-type="image"><img src="' + value.url + '" style="max-height: {{ $snipeSettings->thumbnail_max_h }}px; width: auto;" class="img-responsive" alt=""></a>';
876876
} else if ((value) && (value.url)) {
877877
return '<a href="' + value.url + '" class="btn btn-default"><x-icon type="download" /></a>';
878878
}

0 commit comments

Comments
 (0)