Skip to content

Commit

Permalink
prevent http request when template is not executed (#3609)
Browse files Browse the repository at this point in the history
  • Loading branch information
tomaskikutis authored and petrjasek committed Sep 15, 2020
1 parent d6a127a commit 19cbfaa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/apps/archive/views/preview.html
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@
</div>
<div ng-if="field.field_type === 'media'" class="association">
<div ng-repeat="(mediaId, media) in getAssociatedItems(item.associations, field._id) track by mediaId">
<img src="{{media.renditions.viewImage.href}}" ng-if="media.type === 'picture'">
<img ng-src="{{media.renditions.viewImage.href}}" ng-if="media.type === 'picture'">
<sd-video ng-if="media.type === 'video'" item="media"></sd-video>
<audio controls="controls" ng-if="media.type === 'audio'">
<source vsrc="{{rendition.href}}"
Expand Down

0 comments on commit 19cbfaa

Please sign in to comment.