Skip to content

Commit

Permalink
Update overlay-container.html
Browse files Browse the repository at this point in the history
  • Loading branch information
pdgago authored Nov 14, 2017
1 parent 4eeaef8 commit 430f361
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions overlay-container.html
Original file line number Diff line number Diff line change
Expand Up @@ -58,9 +58,7 @@

connectedCallback() {
super.connectedCallback();
requestAnimationFrame(_ => {
this.__toggleListeners({enable: true});
});
this.__toggleListeners({enable: true});
}

disconnectedCallback() {
Expand Down Expand Up @@ -169,4 +167,4 @@
customElements.define(OverlayContainer.is, OverlayContainer);

</script>
</dom-module>
</dom-module>

0 comments on commit 430f361

Please sign in to comment.