Skip to content

Commit

Permalink
refactor: cleanup no longer existing listener
Browse files Browse the repository at this point in the history
  • Loading branch information
web-padawan committed Apr 26, 2021
1 parent 337a4b3 commit c3fcda0
Showing 1 changed file with 0 additions and 12 deletions.
12 changes: 0 additions & 12 deletions packages/vaadin-menu-bar/src/vaadin-menu-bar-interactions-mixin.js
Original file line number Diff line number Diff line change
Expand Up @@ -49,18 +49,6 @@ export const InteractionsMixin = (superClass) =>
container.addEventListener('mouseover', (e) => this._onMouseOver(e));
}

/** @protected */
connectedCallback() {
super.connectedCallback();
document.addEventListener('click', this.__boundOutsideClickListener, true);
}

/** @protected */
disconnectedCallback() {
super.disconnectedCallback();
document.removeEventListener('click', this.__boundOutsideClickListener, true);
}

/** @private */
get __isRTL() {
return this.getAttribute('dir') === 'rtl';
Expand Down

0 comments on commit c3fcda0

Please sign in to comment.