summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorxps2 <9610872+xps2@users.noreply.github.com>2018-09-02 01:09:27 +0900
committerAya Morisawa <AyaMorisawa4869@gmail.com>2018-09-02 01:10:55 +0900
commitf24869625ec12deb660f8f6bb8fe681af7ac0b2c (patch)
tree39795e49376c5840b284fe5f78632423be2805f5
parent8.21.0 (diff)
downloadmisskey-f24869625ec12deb660f8f6bb8fe681af7ac0b2c.tar.gz
misskey-f24869625ec12deb660f8f6bb8fe681af7ac0b2c.tar.bz2
misskey-f24869625ec12deb660f8f6bb8fe681af7ac0b2c.zip
fix
-rw-r--r--src/client/app/desktop/views/components/media-image.vue2
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}")`;
},