diff --git a/share/pdf2htmlEX.js.in b/share/pdf2htmlEX.js.in index 809b4b4..669eea6 100644 --- a/share/pdf2htmlEX.js.in +++ b/share/pdf2htmlEX.js.in @@ -363,7 +363,7 @@ var pdf2htmlEX = (function(){ case 36: // Home if (e.ctrlKey) { - _.scroll_to_page(_.pages[1]); + _.$container.scrollTop(0); } else return;