mirror of
https://github.com/wassname/talk.git
synced 2026-09-09 11:38:08 +08:00
[Docs] Notes about IE11 compatibility (#2810)
* docs: ie11 * fix: wordings
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user