Update grammar in README and docs

This commit is contained in:
Nikita Karamov 2020-06-26 17:32:02 +02:00
parent ae0413558e
commit 8fef814d0c
No known key found for this signature in database
GPG Key ID: E40DFE6E993540FF
2 changed files with 3 additions and 3 deletions

View File

@ -6,7 +6,7 @@ Lightweight, stylish and ethical share buttons.
- **Small.** Dependency-free. CSS+JS bundle is only 3.15 KB minified and gzipped. - **Small.** Dependency-free. CSS+JS bundle is only 3.15 KB minified and gzipped.
- **Stylish.** Uses official vector logos and colors with no visual mess. - **Stylish.** Uses official vector logos and colors with no visual mess.
- **Ethical.** No tracking code is being embedded. JS is used for quick setup only. - **Ethical.** Embeds no tracking code. JS is required only for the setup.
<img src="https://raw.githubusercontent.com/NickKaramoff/shareon/master/docs/screen01@2x.png" height="100" width="570" alt="shareon example"> <img src="https://raw.githubusercontent.com/NickKaramoff/shareon/master/docs/screen01@2x.png" height="100" width="570" alt="shareon example">
@ -58,7 +58,7 @@ classes match the names of social networks:
If you use `<a>`, the buttons will get a `href`-attribute to them. In other cases If you use `<a>`, the buttons will get a `href`-attribute to them. In other cases
they will get a listener on `click` event, so you can use `<button>`s if you wish. they will get a listener on `click` event, so you can use `<button>`s if you wish.
By default the URL and the title of the page will be used in sharing dialogs. By default, the URL and the title of the page will be used in sharing dialogs.
To change this, you can use the `data-url` and `data-title` attributes. Use them To change this, you can use the `data-url` and `data-title` attributes. Use them
on the whole container or on the specific buttons: on the whole container or on the specific buttons:

View File

@ -157,7 +157,7 @@
</p> </p>
<p> <p>
By default the URL and the title of the page will be used in sharing dialogs. To change this, you can By default, the URL and the title of the page will be used in sharing dialogs. To change this, you can
use use
the <code>data-url</code> and <code>data-title</code> attributes. Use them on the whole container or on the <code>data-url</code> and <code>data-title</code> attributes. Use them on the whole container or on
the specific buttons: the specific buttons: