From 3f9baa7272327cd143e6e2cfe56a14e31634a701 Mon Sep 17 00:00:00 2001 From: Jules Laplace Date: Sun, 15 Apr 2018 12:04:52 +0200 Subject: dont focus cursor_input on mobile --- js/app.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'js/app.js') 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) { -- cgit v1.2.3-70-g09d2