Skip to content

Commit

Permalink
Update inabox-viewport.js
Browse files Browse the repository at this point in the history
  • Loading branch information
alanorozco authored Jul 18, 2018
1 parent 3594afb commit 7fa4fee
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions src/inabox/inabox-viewport.js
Original file line number Diff line number Diff line change
Expand Up @@ -352,13 +352,6 @@ export class ViewportBindingInabox {
MessageType.CANCEL_FULL_OVERLAY_FRAME,
MessageType.CANCEL_FULL_OVERLAY_FRAME_RESPONSE,
response => {
const openLightbox =
this.win.document.querySelector('amp-lightbox.amp-open');

if (openLightbox) {
openLightbox.getImpl().then(impl => impl.close());
}

unlisten();
this.updateBoxRect_(response.boxRect);
resolve();
Expand Down

0 comments on commit 7fa4fee

Please sign in to comment.