Skip to content

Commit

Permalink
Fix documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
nico3333fr committed Oct 22, 2017
1 parent a8f5c66 commit 7e5d7b9
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,9 +50,9 @@ First, put <code>class="js-modal"</code> on a button or a link to activate the s

Remember there are some demos, it will be easier to understand: <a href="https://van11y.net/downloads/modal/demo/index.html">Demo of accessible modal window</a>

The script is launched when the page is loaded. If you need to execute it on AJAX-inserted content, you may use for example on <div id="newContent">your modal launcher source</div>:
The script is launched when the page is loaded. If you need to execute it on AJAX-inserted content, you may use for example on `<div id="newContent">your modal launcher source</div>`:

van11yAccessibleModalWindowAria(document.getElementById('newContent'));
```van11yAccessibleModalWindowAria(document.getElementById('newContent'));```

## Minimal styling classes

Expand Down
2 changes: 1 addition & 1 deletion bower.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"description": "ES2015 accessible modal window system, using ARIA (compatible IE9+ when transpiled)",
"homepage": "https://van11y.net/accessible-modal/",
"main": "van11y-accessible-modal-window-aria.es6.js",
"version": "2.0.0",
"version": "2.0.1",
"keywords": [
"Accessibility",
"ARIA",
Expand Down
2 changes: 1 addition & 1 deletion dist/van11y-accessible-modal-window-aria.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"name": "van11y-accessible-modal-window-aria",
"description": "ES2015 accessible modal window system, using ARIA (compatible IE9+ when transpiled)",
"main": "dist/van11y-accessible-modal-window-aria.min.js",
"version": "2.0.0",
"version": "2.0.1",
"keywords": [
"Accessibility",
"ARIA",
Expand Down

0 comments on commit 7e5d7b9

Please sign in to comment.