1
0
mirror of https://github.com/pdf2htmlEX/pdf2htmlEX.git synced 2024-12-21 20:50:07 +00:00

Use scrollHeight to find out how to scroll to the end for ctrl-end.

https://github.com/coolwanglu/pdf2htmlEX/issues/180
This commit is contained in:
Daniel Bonniot 2013-07-14 16:34:02 +02:00
parent bf210751f7
commit b78cdd0a9d

View File

@ -355,7 +355,7 @@ var pdf2htmlEX = (function(){
case 35: // End case 35: // End
if (e.ctrlKey) { if (e.ctrlKey) {
_.scroll_to_page(_.pages[_.pages.length-1]); _.$container.scrollTop(_.$container[0].scrollHeight);
} }
else else
return; return;