Skip to content

Commit

Permalink
Merge branch 'dev' of https://github.com/goldengecko/element into dev
Browse files Browse the repository at this point in the history
* 'dev' of https://github.com/goldengecko/element:
  Updated to pass tests
  • Loading branch information
goldengecko committed Oct 22, 2018
2 parents dc98d9e + daa33c7 commit 1b35078
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions packages/popover/src/main.vue
Original file line number Diff line number Diff line change
Expand Up @@ -142,17 +142,15 @@ export default {
this.showPopper = false;
},
handleFocus() {
addClass(this.referenceElm, "focusing");
if (this.trigger === "click" || this.trigger === "focus")
this.showPopper = true;
addClass(this.referenceElm, 'focusing');
if (this.trigger === 'click' || this.trigger === 'focus') this.showPopper = true;
},
handleClick() {
removeClass(this.referenceElm, 'focusing');
},
handleBlur() {
removeClass(this.referenceElm, "focusing");
if (this.trigger === "click" || this.trigger === "focus")
this.showPopper = false;
removeClass(this.referenceElm, 'focusing');
if (this.trigger === 'click' || this.trigger === 'focus') this.showPopper = false;
},
handleMouseEnter() {
clearTimeout(this._timer);
Expand Down

0 comments on commit 1b35078

Please sign in to comment.