mirror of
https://github.com/pdf2htmlEX/pdf2htmlEX.git
synced 2024-12-22 04:50:09 +00:00
home/end without ctrl
This commit is contained in:
parent
5cb26697a8
commit
932e21cc0f
@ -571,16 +571,12 @@ Viewer.prototype = {
|
||||
handled = true;
|
||||
break;
|
||||
case 35: // End
|
||||
if (with_ctrl) {
|
||||
_.container.scrollTop = _.container.scrollHeight;
|
||||
handled = true;
|
||||
}
|
||||
break;
|
||||
case 36: // Home
|
||||
if (e.with_ctrl) {
|
||||
_.container.scrollTop = 0;
|
||||
handled = true;
|
||||
}
|
||||
break;
|
||||
}
|
||||
if(handled) {
|
||||
|
Loading…
Reference in New Issue
Block a user