summaryrefslogtreecommitdiff
path: root/js/app.js
diff options
context:
space:
mode:
authorJules Laplace <julescarbon@gmail.com>2018-04-15 12:04:52 +0200
committerJules Laplace <julescarbon@gmail.com>2018-04-15 12:04:52 +0200
commit3f9baa7272327cd143e6e2cfe56a14e31634a701 (patch)
tree02908c4a5791c20c01b51999b2fff737b7a12ca2 /js/app.js
parent1a3cc59688251520d5e5c08f82ab2aa01c44e1a7 (diff)
dont focus cursor_input on mobile
Diffstat (limited to 'js/app.js')
-rw-r--r--js/app.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/js/app.js b/js/app.js
index 64f8bea..729f0d0 100644
--- a/js/app.js
+++ b/js/app.js
@@ -58,7 +58,7 @@ function bind () {
var ae = document.activeElement
if (ae !== shader_textarea && ae !== import_textarea && ae !== username_input && ae !== upload_input) {
- cursor_input.focus()
+ if (is_desktop) cursor_input.focus()
}
if (selecting) {