summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorsyuilo <syuilotan@yahoo.co.jp>2018-04-22 17:34:25 +0900
committersyuilo <syuilotan@yahoo.co.jp>2018-04-22 17:34:25 +0900
commit3a767f29bec4da6e22608191a189f01d3ccb2d5b (patch)
treed673c612827d7feec678407980488b70eb72b348 /src
parent#1533 (diff)
downloadsharkey-3a767f29bec4da6e22608191a189f01d3ccb2d5b.tar.gz
sharkey-3a767f29bec4da6e22608191a189f01d3ccb2d5b.tar.bz2
sharkey-3a767f29bec4da6e22608191a189f01d3ccb2d5b.zip
Fix #1532
Diffstat (limited to 'src')
-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 51309a0578..3d28d5149d 100644
--- a/src/client/app/desktop/views/components/media-image.vue
+++ b/src/client/app/desktop/views/components/media-image.vue
@@ -31,7 +31,7 @@ export default Vue.extend({
const xp = mouseX / this.$el.offsetWidth * 100;
const yp = mouseY / this.$el.offsetHeight * 100;
this.$el.style.backgroundPosition = xp + '% ' + yp + '%';
- this.$el.style.backgroundImage = 'url("' + this.image.url + '?thumbnail")';
+ this.$el.style.backgroundImage = `url("${this.image.url}")`;
},
onMouseleave() {