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;
|
handled = true;
|
||||||
break;
|
break;
|
||||||
case 35: // End
|
case 35: // End
|
||||||
if (with_ctrl) {
|
_.container.scrollTop = _.container.scrollHeight;
|
||||||
_.container.scrollTop = _.container.scrollHeight;
|
handled = true;
|
||||||
handled = true;
|
|
||||||
}
|
|
||||||
break;
|
break;
|
||||||
case 36: // Home
|
case 36: // Home
|
||||||
if (e.with_ctrl) {
|
_.container.scrollTop = 0;
|
||||||
_.container.scrollTop = 0;
|
handled = true;
|
||||||
handled = true;
|
|
||||||
}
|
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
if(handled) {
|
if(handled) {
|
||||||
|
Loading…
Reference in New Issue
Block a user