diff options
Diffstat (limited to 'assets/js/base.js')
-rw-r--r-- | assets/js/base.js | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/assets/js/base.js b/assets/js/base.js index 9303b348..2ad19ac0 100644 --- a/assets/js/base.js +++ b/assets/js/base.js @@ -153,8 +153,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(); + }); } }; |