replace "press" with "click"

"press" is when we push a keyboard key
"click"/"select" is when we use a mouse button.
This commit is contained in:
pimonenkov 2019-04-30 14:07:36 +03:00 committed by GitHub
parent c0d068d27a
commit 2802a6d5cd
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -103,7 +103,7 @@ More in: <info:variables> and <info:types>.
We're using a browser as a working environment, so basic UI functions will be: We're using a browser as a working environment, so basic UI functions will be:
[`prompt(question, [default])`](mdn:api/Window/prompt) [`prompt(question, [default])`](mdn:api/Window/prompt)
: Ask a `question`, and return either what the visitor entered or `null` if they pressed "cancel". : Ask a `question`, and return either what the visitor entered or `null` if they clicked "cancel".
[`confirm(question)`](mdn:api/Window/confirm) [`confirm(question)`](mdn:api/Window/confirm)
: Ask a `question` and suggest to choose between Ok and Cancel. The choice is returned as `true/false`. : Ask a `question` and suggest to choose between Ok and Cancel. The choice is returned as `true/false`.