+
liuyg
2021-12-06 35f00c3e43e53e43822b1c094edb75a4da57663b
+
1 files modified
6 ■■■■ changed files
public/pfd/build/generic/web/viewer.js 6 ●●●● patch | view | raw | blame | history
public/pfd/build/generic/web/viewer.js
@@ -6999,6 +6999,8 @@
  document.getElementById('sidebarToggle').addEventListener('click',
    function () {
      console.log(12345)
      this.classList.toggle('toggled');
      outerContainer.classList.add('sidebarMoving');
      outerContainer.classList.toggle('sidebarOpen');
@@ -7623,7 +7625,9 @@
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.