mirror of
https://github.com/scratchfoundation/scratchjr.git
synced 2025-02-17 17:01:12 -05:00
Reword comment explanation
This commit is contained in:
parent
04401859a2
commit
d0df27787a
1 changed files with 2 additions and 2 deletions
|
@ -952,8 +952,8 @@ export default class UI {
|
|||
static createFormForText (p) {
|
||||
var tf = newHTML('div', 'pagetext off', p);
|
||||
tf.setAttribute('id', 'textbox');
|
||||
// If the textbox is click or touched, the input may lost focus,
|
||||
// and it may cause the text form miss closed.
|
||||
// If the textbox background is clicked or touched, the input loses focus,
|
||||
// which causes the text input to close unexpectedly
|
||||
var eatEvent = function (e) {
|
||||
e.stopPropagation();
|
||||
e.preventDefault();
|
||||
|
|
Loading…
Reference in a new issue