| | |
| | | |
| | | document.getElementById('sidebarToggle').addEventListener('click', |
| | | function () { |
| | | console.log(12345) |
| | | |
| | | this.classList.toggle('toggled'); |
| | | outerContainer.classList.add('sidebarMoving'); |
| | | outerContainer.classList.toggle('sidebarOpen'); |
| | |
| | | window.addEventListener('afterprint', function afterPrint(evt) { |
| | | PDFViewerApplication.afterPrint(); |
| | | }); |
| | | |
| | | setTimeout(() => { |
| | | document.getElementById('sidebarToggle').click(); |
| | | }, 700); |
| | | (function animationStartedClosure() { |
| | | // The offsetParent is not set until the pdf.js iframe or object is visible. |
| | | // Waiting for first animation. |