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