Skip to content

Commit

Permalink
Changes as per ziyoung review
Browse files Browse the repository at this point in the history
  • Loading branch information
goldengecko committed Dec 4, 2018
1 parent 1b35078 commit fbfd588
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions packages/popover/src/main.vue
Original file line number Diff line number Diff line change
Expand Up @@ -123,11 +123,11 @@ export default {
}
},
beforeDestroy: function beforeDestroy() {
beforeDestroy() {
this.cleanup();
},
deactivated: function deactivated() {
deactivated() {
this.cleanup();
},
Expand Down Expand Up @@ -195,10 +195,9 @@ export default {
this.$emit('after-leave');
this.doDestroy();
},
cleanup: function cleanup() {
cleanup() {
if (this.openDelay) {
clearTimeout(this._timer);
this.showPopper = false;
}
}
},
Expand Down

0 comments on commit fbfd588

Please sign in to comment.