third_party/subscriptions-project/swg.js
/**
   * Removes the event listeners that close the iframe and make the body visible.
   */
Removes the event listeners that close the iframe and make the body visible.
Removes the event listeners that close the iframe and make the body visible .
removeCloseEventListener() {
    this.win_.removeEventListener('click', this.sendCloseRequestFunction_);
    this.win_.removeEventListener('touchstart', this.sendCloseRequestFunction_);
    this.win_.removeEventListener('mousedown', this.sendCloseRequestFunction_);
    if (this.isMobile_()) {
      const $body = this.win_.document.body;
      setStyle($body, 'overflow', 'visible');
    } else {
      this.win_.removeEventListener('scroll', this.scrollEventListener_);
    }
  }
removeCloseEventListener ( ) { this . win_ . removeEventListener ( 'click' , this . sendCloseRequestFunction_ ) ; this . win_ . removeEventListener ( 'touchstart' , this . sendCloseRequestFunction_ ) ; this . win_ . removeEventListener ( 'mousedown' , this . sendCloseRequestFunction_ ) ; if ( this . isMobile_ ( ) ) { const $body = this . win_ . document . body ; setStyle ( $body , 'overflow' , 'visible' ) ; } else { this . win_ . removeEventListener ( 'scroll' , this . scrollEventListener_ ) ; } }
Removes the event listeners that close the iframe and make the body visible.
Removes the event listeners that close the iframe and make the body visible .