diff options
Diffstat (limited to 'src/components/still-image/still-image.vue')
| -rw-r--r-- | src/components/still-image/still-image.vue | 18 |
1 files changed, 3 insertions, 15 deletions
diff --git a/src/components/still-image/still-image.vue b/src/components/still-image/still-image.vue index 3fff63f9..af824fa2 100644 --- a/src/components/still-image/still-image.vue +++ b/src/components/still-image/still-image.vue @@ -1,19 +1,7 @@ <template> - <div - class="still-image" - :class="{ animated: animated }" - > - <canvas - v-if="animated" - ref="canvas" - /> - <img - ref="src" - :src="src" - :referrerpolicy="referrerpolicy" - @load="onLoad" - @error="onError" - > + <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="onError"/> </div> </template> |
