Skip to content

Commit

Permalink
✨ Fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
damianpumar committed Mar 6, 2024
1 parent 6080776 commit 7c23f49
Showing 1 changed file with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,8 @@ export default {
},
},
mounted() {
this.scroll = this.getScrollParent(document.getElementById("spanEntity"));
if (this.scroll) {
this.scroll.addEventListener("scroll", this.getPosition);
}
Expand All @@ -105,9 +107,6 @@ export default {
this.scroll.removeEventListener("scroll", this.getPosition);
}
},
created() {
this.scroll = this.getScrollParent(document.getElementById("spanEntity"));
},
};
</script>

Expand Down

0 comments on commit 7c23f49

Please sign in to comment.