Skip to content

Commit

Permalink
fix(preview.vue): passes Observer argument to resize function
Browse files Browse the repository at this point in the history
Passes the Resize Observer to the resize function

fixes #487
  • Loading branch information
2xAA committed Dec 11, 2020
1 parent ce2d6b5 commit ef5211c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/Preview.vue
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ export default {
return;
}
this.resize();
this.resize(entries);
});
}).observe(container);
Expand Down

0 comments on commit ef5211c

Please sign in to comment.