diff --git a/src/resources/markdown_template.js b/src/resources/markdown_template.js index 795db62b..3e69f58d 100644 --- a/src/resources/markdown_template.js +++ b/src/resources/markdown_template.js @@ -155,7 +155,7 @@ document.onkeydown = function(e) { keyState = 0; if (ctrl) { var clientHeight = document.documentElement.clientHeight; - window.scrollBy(0, -clientHeight); + window.scrollBy(0, -clientHeight / 2); break; } return; @@ -164,7 +164,7 @@ document.onkeydown = function(e) { keyState = 0; if (ctrl) { var clientHeight = document.documentElement.clientHeight; - window.scrollBy(0, clientHeight); + window.scrollBy(0, clientHeight / 2); break; } return;