From e5a9f0142f225e4ab69c88eff1b7172688f28252 Mon Sep 17 00:00:00 2001 From: Adphi Date: Sat, 19 Jan 2019 18:09:39 +0100 Subject: [PATCH] add scroll down on key down --- README.md | 6 +----- js/index.js | 3 +++ 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 8c79b0c..973b42a 100644 --- a/README.md +++ b/README.md @@ -1,8 +1,4 @@ -# OCCWeb terminal - -A web terminal for admins to launch Nextcloud's occ commands - - +# Test Nextcloud App Place this app in **nextcloud/apps/** ## Building the app diff --git a/js/index.js b/js/index.js index 6d2d682..7c3bb24 100644 --- a/js/index.js +++ b/js/index.js @@ -41,5 +41,8 @@ } }); }); + $('html').keypress(function(){ + scrollToBottom() + }) }); })(OC, window, jQuery);