Skip to content

Commit

Permalink
fix: remove scroll listener
Browse files Browse the repository at this point in the history
  • Loading branch information
kokoroli committed Mar 31, 2019
1 parent 6e44a3f commit ff3b309
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/GlobalHeader/GlobalHeader.vue
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ export default {
}
},
beforeDestroy () {
document.body.removeEventListener('scrool', this.handScroll)
document.body.removeEventListener('scroll', this.handleScroll, true)
}
}
</script>
Expand Down

0 comments on commit ff3b309

Please sign in to comment.