diff options
| author | xps2 <9610872+xps2@users.noreply.github.com> | 2018-09-02 01:09:27 +0900 |
|---|---|---|
| committer | Aya Morisawa <AyaMorisawa4869@gmail.com> | 2018-09-02 01:10:55 +0900 |
| commit | f24869625ec12deb660f8f6bb8fe681af7ac0b2c (patch) | |
| tree | 39795e49376c5840b284fe5f78632423be2805f5 | |
| parent | 8.21.0 (diff) | |
| download | misskey-f24869625ec12deb660f8f6bb8fe681af7ac0b2c.tar.gz misskey-f24869625ec12deb660f8f6bb8fe681af7ac0b2c.tar.bz2 misskey-f24869625ec12deb660f8f6bb8fe681af7ac0b2c.zip | |
fix
| -rw-r--r-- | src/client/app/desktop/views/components/media-image.vue | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/app/desktop/views/components/media-image.vue b/src/client/app/desktop/views/components/media-image.vue index 52d029a269..0284872c68 100644 --- a/src/client/app/desktop/views/components/media-image.vue +++ b/src/client/app/desktop/views/components/media-image.vue @@ -48,7 +48,7 @@ export default Vue.extend({ const mouseY = e.clientY - rect.top; const xp = mouseX / this.$el.offsetWidth * 100; const yp = mouseY / this.$el.offsetHeight * 100; - this.$el.style.backgroundPosition = `${xp}% ${yp}%'; + this.$el.style.backgroundPosition = `${xp}% ${yp}%`; this.$el.style.backgroundImage = `url("${this.image.url}")`; }, |