From 2cbed98e58711e0c17b8a9eae7468136abc41c98 Mon Sep 17 00:00:00 2001 From: Ilya Kantor Date: Mon, 21 Oct 2019 16:15:04 +0300 Subject: [PATCH] minor --- 2-ui/5-loading/02-script-async-defer/article.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/2-ui/5-loading/02-script-async-defer/article.md b/2-ui/5-loading/02-script-async-defer/article.md index a0c91fec..c627c42a 100644 --- a/2-ui/5-loading/02-script-async-defer/article.md +++ b/2-ui/5-loading/02-script-async-defer/article.md @@ -191,7 +191,7 @@ Please note that if you're using `defer`, then the page is visible *before* the So the user may read the page, but some graphical components are probably not ready yet. -There should be "loading" indications in proper places, set not-working buttons to disabled, to clearly show the user what's ready and what's not. +There should be "loading" indications in proper places, and not-working buttons should be visually disabled, to clearly show the user what's ready and what's not. ``` In practice, `defer` is used for scripts that need the whole DOM and/or their relative execution order is important. And `async` is used for independent scripts, like counters or ads. And their relative execution order does not matter.