mirror of
https://github.com/scratchfoundation/scratchjr.git
synced 2024-11-28 18:15:37 -05:00
Adding ontouchstart function to trigger focus for spriteform
This commit is contained in:
parent
8c2a26a070
commit
13b983bd57
1 changed files with 2 additions and 2 deletions
|
@ -593,12 +593,12 @@ export default class Paint {
|
|||
var sform = newHTML('form', 'spriteform', p);
|
||||
sform.name = 'spriteform';
|
||||
var ti = newHTML('input', undefined, sform);
|
||||
ti.onkeypress = undefined;
|
||||
ti.autocomplete = 'off';
|
||||
ti.autocomplete = false;
|
||||
ti.autocorrect = false;
|
||||
ti.name = 'name';
|
||||
ti.maxLength = 25;
|
||||
ti.firstTime = true;
|
||||
ti.ontouchstart = () => {};
|
||||
ti.onfocus = Paint.nameFocus;
|
||||
ti.onblur = Paint.nameBlur;
|
||||
ti.onkeypress = Paint.handleNamePress;
|
||||
|
|
Loading…
Reference in a new issue