Skip to content

Commit

Permalink
Update kahuna/public/js/image/view.html
Browse files Browse the repository at this point in the history
  • Loading branch information
AWare authored Feb 25, 2021
1 parent c1c49f0 commit 4eae820
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions kahuna/public/js/image/view.html
Original file line number Diff line number Diff line change
Expand Up @@ -145,13 +145,7 @@
ng-if="!ctrl.crop"
draggable="true"
ui-drag-data="ctrl.image | asImageDragData">
<img ng-if="!ctrl.image.data.optimisedPng" class="easel__image"
alt="preview of original image"
ng-src="{{:: ctrl.optimisedImageUri}}"
grid:track-image="ctrl.image"
grid:track-image-location="original"
grid:track-image-loadtime/>
<img ng-if="ctrl.image.data.optimisedPng" class="easel__image easel__image--checkered__background"
<img ng-class="[easel__image, {'easel__image--checkered__background': ctrl.image.data.optimisedPng }]"
alt="preview of original image"
ng-src="{{:: ctrl.optimisedImageUri}}"
grid:track-image="ctrl.image"
Expand Down

0 comments on commit 4eae820

Please sign in to comment.