Skip to content

Commit

Permalink
Simplify properties setting
Browse files Browse the repository at this point in the history
  • Loading branch information
yuriy-fix committed Aug 24, 2018
1 parent 2ce1b75 commit bcbab6f
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/vaadin-dropdown-menu.html
Original file line number Diff line number Diff line change
Expand Up @@ -319,8 +319,7 @@
}

if (renderer) {
this._overlayElement.owner = this;
this._overlayElement.renderer = renderer;
this._overlayElement.setProperties({owner: this, renderer: renderer});

if (this._overlayElement.content.firstChild) {
this._assignMenuElement();
Expand Down

0 comments on commit bcbab6f

Please sign in to comment.