From 3ebe2ae17b1f95396cffc27da891ee63b6788830 Mon Sep 17 00:00:00 2001 From: Catouse Date: Wed, 13 May 2015 13:38:28 +0800 Subject: [PATCH] * prevent scroll page on press the 'down' key. --- src/js/doc.js | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/js/doc.js b/src/js/doc.js index cd099783..efdaaf78 100644 --- a/src/js/doc.js +++ b/src/js/doc.js @@ -1606,10 +1606,7 @@ if(isPageNotShow) { chooseNextSection(); e.preventDefault(); - } else { - scrollToThis($pageBody); } - e.preventDefault(); } }); -- GitLab