extensions/pdfViewer/pdf/web/viewer.js
function secondaryToolbarSetMaxHeight(container) {
    if (!container || !this.buttonContainer) {
      return;
    }
    this.newContainerHeight = container.clientHeight;
    if (this.previousContainerHeight === this.newContainerHeight) {
      return;
    }
    this.buttonContainer.setAttribute('style',
      'max-height: ' + (this.newContainerHeight - SCROLLBAR_PADDING) + 'px;');
    this.previousContainerHeight = this.newContainerHeight;
  }
function secondaryToolbarSetMaxHeight(container) {
    if (!container || !this.buttonContainer) {
      return;
    }
    this.newContainerHeight = container.clientHeight;
    if (this.previousContainerHeight === this.newContainerHeight) {
      return;
    }
    this.buttonContainer.setAttribute('style',
      'max-height: ' + (this.newContainerHeight - SCROLLBAR_PADDING) + 'px;');
    this.previousContainerHeight = this.newContainerHeight;
  }
function secondaryToolbarSetMaxHeight ( container ) { if ( ! container || ! this . buttonContainer ) { return ; } this . newContainerHeight = container . clientHeight ; if ( this . previousContainerHeight === this . newContainerHeight ) { return ; } this . buttonContainer . setAttribute ( 'style' , 'max-height: ' + ( this . newContainerHeight - SCROLLBAR_PADDING ) + 'px;' ) ; this . previousContainerHeight = this . newContainerHeight ; }
Misc. functions for interacting with the toolbar.
Misc . functions for interacting with the toolbar .