Skip to content

Commit

Permalink
Hide thumbnail image in metadata page when the image can't be loaded …
Browse files Browse the repository at this point in the history
…due to an error.
  • Loading branch information
josegar74 committed Sep 6, 2023
1 parent 7fb4cea commit 0eef0c8
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
alt="{{'overview' | translate}}"
title="{{img.name}}"
data-ng-src="{{img.url}}"
onerror="this.onerror=null; this.style.display='none';"
/>
<p class="text-center" data-ng-if="img.name != ''">{{img.name}}</p>
</li>
Expand Down

0 comments on commit 0eef0c8

Please sign in to comment.