Fix mishandled @error in stillImage

This commit is contained in:
shpuld 2019-02-05 17:17:50 +02:00
commit 5974dfebfb
3 changed files with 10 additions and 2 deletions

View file

@ -1,7 +1,7 @@
<template>
<div class='still-image' :class='{ animated: animated }' >
<canvas ref="canvas" v-if="animated"></canvas>
<img ref="src" :src="src" :referrerpolicy="referrerpolicy" v-on:load="onLoad" @error="imageLoadError"/>
<img ref="src" :src="src" :referrerpolicy="referrerpolicy" v-on:load="onLoad" @error="onError"/>
</div>
</template>