1
0
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:
Lu Wang 2013-11-11 20:28:01 +08:00
parent 5cb26697a8
commit 932e21cc0f

View File

@ -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) {