[Docs] Notes about IE11 compatibility (#2810)

* docs: ie11

* fix: wordings
This commit is contained in:
Vinh
2020-01-29 15:27:01 -05:00
committed by GitHub
parent dc096137e3
commit e1bfe5b608
2 changed files with 27 additions and 2 deletions
+3 -1
View File
@@ -6,11 +6,13 @@ permalink: /v5/integrating/counts/
Add the `count.js` script to your `html` tree. On a page that includes the _Stream Embed_ this is done for you automatically, however for best performance we recommend to include it into the `<head>` tag.
```html
<script src="//{{ CORAL_DOMAIN_NAME }}/assets/js/count.js" defer></script>
<script class="coral-script" src="//{{ CORAL_DOMAIN_NAME }}/assets/js/count.js" defer></script>
```
> **NOTE:** Replace the value of `{% raw %}{{ CORAL_DOMAIN_NAME }}{% endraw %}` with the location of your running instance of Coral.
> **NOTE:** `class="coral-script"` is needed to support IE11.
Insert an html element with the class `coral-count` and configure it using `data-coral-*` attributes.
```html