Skip to content
Snippets Groups Projects
Unverified Commit 96564609 authored by tusooa's avatar tusooa :zap:
Browse files

Make StillImage react to src changes

parent fbbeb33f
No related branches found
No related tags found
2 merge requests!1711Update stable - 2.5.0 release,!1408Group emojis into packs in emoji picker
......@@ -57,6 +57,14 @@ const StillImage = {
onError () {
this.imageLoadError && this.imageLoadError()
}
},
watch: {
src () {
this.realSrc = this.src
},
dataSrc () {
this.$el.removeAttribute('data-loaded')
}
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment