Skip to content
Snippets Groups Projects
Commit 3a767f29 authored by syuilo's avatar syuilo
Browse files

Fix #1532

parent ed0885ce
No related merge requests found
......@@ -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() {
......
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