From 1d2cb9e964758ad4e5b0dc7772034f2ee1837a3e Mon Sep 17 00:00:00 2001 From: Weihui Guo Date: Wed, 22 Jul 2020 10:18:03 -0400 Subject: [PATCH] Update html.js Fix issue #2766 margin-top issue with zoom-in'ed page --- src/modules/html.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/modules/html.js b/src/modules/html.js index f4e40dedb..32145a827 100644 --- a/src/modules/html.js +++ b/src/modules/html.js @@ -348,6 +348,8 @@ async: true, allowTaint: true, scale: 1, + scrollX: this.opt.scrollX || 0, + scrollY: this.opt.scrollY || 0, backgroundColor: "#ffffff", imageTimeout: 15000, logging: true,