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:
parent
972c92540e
commit
08ba884b7f
@ -363,7 +363,7 @@ var pdf2htmlEX = (function(){
|
||||
|
||||
case 36: // Home
|
||||
if (e.ctrlKey) {
|
||||
_.scroll_to_page(_.pages[1]);
|
||||
_.$container.scrollTop(0);
|
||||
}
|
||||
else
|
||||
return;
|
||||
|
Loading…
Reference in New Issue
Block a user