mirror of
https://github.com/pdf2htmlEX/pdf2htmlEX.git
synced 2024-12-22 04:50:09 +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
|
case 36: // Home
|
||||||
if (e.ctrlKey) {
|
if (e.ctrlKey) {
|
||||||
_.scroll_to_page(_.pages[1]);
|
_.$container.scrollTop(0);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
return;
|
return;
|
||||||
|
Loading…
Reference in New Issue
Block a user