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 Mar 27, 2018
1 parent 0af8bff commit 1d22f48
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion overlay-container.html
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@
if (overlay.closeOthers) {
const c$ = this.$.overlays.children;
for (let i = c$.length - 1; i >= 0; i--) {
if (c$[i] !== overlay && c$[i].opened) {
if (c$[i] && c$[i] !== overlay && c$[i].opened) {
c$[i].opened = false;
}
}
Expand Down

0 comments on commit 1d22f48

Please sign in to comment.