diff options
Diffstat (limited to 'assets/js/app.js')
-rw-r--r-- | assets/js/app.js | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/assets/js/app.js b/assets/js/app.js index d91a0823..5e13d013 100644 --- a/assets/js/app.js +++ b/assets/js/app.js @@ -168,8 +168,13 @@ var Kanboard = (function() { $("#markdown-preview").click(Kanboard.MarkdownPreview); $("#markdown-write").click(Kanboard.MarkdownWriter); - // Check the session every 10s - window.setInterval(Kanboard.CheckSession, 10000); + // Check the session every 60s + window.setInterval(Kanboard.CheckSession, 60000); + + // Auto-select input fields + $(".auto-select").focus(function() { + $(this).select(); + }); } }; |