|
|
|
@ -25,8 +25,6 @@ var CONTROLS_SELECTOR = 'pdfPresentationModeControls';
@@ -25,8 +25,6 @@ var CONTROLS_SELECTOR = 'pdfPresentationModeControls';
|
|
|
|
|
* @property {HTMLDivElement} container - The container for the viewer element. |
|
|
|
|
* @property {HTMLDivElement} viewer - (optional) The viewer element. |
|
|
|
|
* @property {PDFViewer} pdfViewer - The document viewer. |
|
|
|
|
* @property {PDFThumbnailViewer} pdfThumbnailViewer - (optional) The thumbnail |
|
|
|
|
* viewer. |
|
|
|
|
* @property {Array} contextMenuItems - (optional) The menuitems that are added |
|
|
|
|
* to the context menu in Presentation Mode. |
|
|
|
|
*/ |
|
|
|
@ -43,7 +41,6 @@ var PDFPresentationMode = (function PDFPresentationModeClosure() {
@@ -43,7 +41,6 @@ var PDFPresentationMode = (function PDFPresentationModeClosure() {
|
|
|
|
|
this.container = options.container; |
|
|
|
|
this.viewer = options.viewer || options.container.firstElementChild; |
|
|
|
|
this.pdfViewer = options.pdfViewer; |
|
|
|
|
this.pdfThumbnailViewer = options.pdfThumbnailViewer || null; |
|
|
|
|
var contextMenuItems = options.contextMenuItems || null; |
|
|
|
|
|
|
|
|
|
this.active = false; |
|
|
|
@ -245,10 +242,6 @@ var PDFPresentationMode = (function PDFPresentationModeClosure() {
@@ -245,10 +242,6 @@ var PDFPresentationMode = (function PDFPresentationModeClosure() {
|
|
|
|
|
this._resetMouseScrollState(); |
|
|
|
|
this.container.removeAttribute('contextmenu'); |
|
|
|
|
this.contextMenuOpen = false; |
|
|
|
|
|
|
|
|
|
if (this.pdfThumbnailViewer) { |
|
|
|
|
this.pdfThumbnailViewer.ensureThumbnailVisible(page); |
|
|
|
|
} |
|
|
|
|
}, |
|
|
|
|
|
|
|
|
|
/** |
|
|
|
|