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:
Peter Roche 2019-11-09 22:05:14 -07:00 committed by GitHub
parent aab70cd727
commit be244d03b2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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.**