Skip to content

Commit cd01ff9

Browse files
committed
fixed: Updated README.md - put the correct method for init
1 parent 56d2cf4 commit cd01ff9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ and when the page is loaded (or before `</body>` tag), use this:
2727

2828
```javascript
2929
<script type="text/javascript">
30-
ACCESSIBILITY.createAccessibility();
30+
ACCESSIBILITY.init();
3131
</script>
3232
```
3333

@@ -36,7 +36,7 @@ You can give an element ID as parameter (better use in mobile devices - you'll s
3636

3737
```javascript
3838
<script type="text/javascript">
39-
ACCESSIBILITY.createAccessibility("myElementId");
39+
ACCESSIBILITY.init("myElementId");
4040
</script>
4141
```
4242

0 commit comments

Comments
 (0)