code: function exit() {
      var _this5 = this;
  
      var options = this.options,
          viewer = this.viewer,
          image = this.image,
          list = this.list;
  
  
      if (!this.isShown || this.played || !this.fulled || !options.inline) {
        return this;
      }
  
      this.fulled = false;
      this.close();
      removeClass(this.button, CLASS_FULLSCREEN_EXIT);
  
      if (options.transition) {
        removeClass(list, CLASS_TRANSITION);
  
        if (this.viewed) {
          removeClass(image, CLASS_TRANSITION);
        }
      }
  
      removeClass(viewer, CLASS_FIXED);
      setStyle(viewer, {
        zIndex: options.zIndexInline
      });
  
      this.viewerData = assign({}, this.parentData);
      this.renderViewer();
      this.renderList();
  
      if (this.viewed) {
        this.initImage(function () {
          _this5.renderImage(function () {
            if (options.transition) {
              setTimeout(function () {
                addClass(image, CLASS_TRANSITION);
                addClass(list, CLASS_TRANSITION);
              }, 0);
            }
          });
        });
      }
  
      return this;
    }
docs: Exit modal mode (only available in inline mode)