diff options
author | Maxim Postautov <54762420+mpstv@users.noreply.github.com> | 2021-04-27 12:18:23 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-04-27 12:18:23 +0300 |
commit | 547c6a7e54015df2cfb30162ca7a6e80bd2f6880 (patch) | |
tree | 3f0ce00a69da126c0985c8bba4eda12f8b0e4d9b /files | |
parent | 340e2251a8d07da8b37ed957715923c31c362b10 (diff) | |
download | translated-content-547c6a7e54015df2cfb30162ca7a6e80bd2f6880.tar.gz translated-content-547c6a7e54015df2cfb30162ca7a6e80bd2f6880.tar.bz2 translated-content-547c6a7e54015df2cfb30162ca7a6e80bd2f6880.zip |
fix constraint validation issue (#656)
Diffstat (limited to 'files')
-rw-r--r-- | files/ru/web/guide/html/html5/constraint_validation/index.html | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/files/ru/web/guide/html/html5/constraint_validation/index.html b/files/ru/web/guide/html/html5/constraint_validation/index.html index ba0b43d244..73be6d59bb 100644 --- a/files/ru/web/guide/html/html5/constraint_validation/index.html +++ b/files/ru/web/guide/html/html5/constraint_validation/index.html @@ -261,9 +261,7 @@ original_slug: HTML/HTML5/Constraint_validation <p>This displays:</p> -<p><label>Select a file smaller than 75 kB : </label> <input></p> - -<p> </p> +<p>{{EmbedLiveSample("Limiting_the_size_of_a_file_before_its_upload")}}</p> <p>The JavaScript reads the file selected, uses the File.size() method to get its size, compares it to the (hard coded) limit, and calls the Constraint API to inform the browser if there is a violation:</p> |