Skip to content

Commit

Permalink
Add _overlayContent getter
Browse files Browse the repository at this point in the history
  • Loading branch information
yuriy-fix committed Jul 23, 2018
1 parent 7901e89 commit b27598e
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/vaadin-date-picker-mixin.html
Original file line number Diff line number Diff line change
Expand Up @@ -305,7 +305,6 @@

ready() {
super.ready();
this._overlayContent = this.$.overlay.content.querySelector('#overlay-content');
this._boundOnScroll = this._onScroll.bind(this);
this._boundFocus = this._focus.bind(this);
Polymer.Gestures.addListener(this, 'tap', this.open);
Expand Down Expand Up @@ -810,6 +809,10 @@
}
}

get _overlayContent() {
return this.$.overlay.content.querySelector('#overlay-content');
}

/**
* Fired when the user commits a value change.
*
Expand Down

0 comments on commit b27598e

Please sign in to comment.