1
0
mirror of https://github.com/pdf2htmlEX/pdf2htmlEX.git synced 2024-12-21 12:40:08 +00:00

Simplify the implementation of ctrl-home, we don't need to care about pages in this case.

https://github.com/coolwanglu/pdf2htmlEX/issues/180
This commit is contained in:
Daniel Bonniot 2013-07-03 22:02:53 +02:00
parent 972c92540e
commit 08ba884b7f

View File

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