1
0
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:
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 case 36: // Home
if (e.ctrlKey) { if (e.ctrlKey) {
_.scroll_to_page(_.pages[1]); _.$container.scrollTop(0);
} }
else else
return; return;