Update article.md
"but strongly" -> "but is strongly". "is strongly not recommended" is still a bit odd, though it's readable and totally understandable. Could maybe be changed to "but is strongly discouraged". Still, not bad as (now) is.
This commit is contained in:
parent
aab70cd727
commit
be244d03b2
1 changed files with 1 additions and 1 deletions
|
@ -181,7 +181,7 @@ button.onclick = function() {
|
||||||
|
|
||||||
**Use functions, not strings.**
|
**Use functions, not strings.**
|
||||||
|
|
||||||
The assignment `elem.onclick = "alert(1)"` would work too. It works for compatibility reasons, but strongly not recommended.
|
The assignment `elem.onclick = "alert(1)"` would work too. It works for compatibility reasons, but is strongly not recommended.
|
||||||
|
|
||||||
**Don't use `setAttribute` for handlers.**
|
**Don't use `setAttribute` for handlers.**
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue