Skip to content

Commit 89528ab

Browse files
committed
Updated documentation & min js
1 parent 3770312 commit 89528ab

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -210,13 +210,13 @@ $.modal.CLOSE = 'modal:close'; // Fires when the modal begins c
210210
$.modal.AFTER_CLOSE = 'modal:after-close'; // Fires after the modal has fully closed (including animations).
211211
```
212212

213-
The first and only argument passed to these event handlers is the `modal` object, which has three properties:
213+
The first and only argument passed to these event handlers is the `modal` object, which has four properties:
214214

215215
```js
216216
modal.$elm; // Original jQuery object upon which modal() was invoked.
217217
modal.options; // Options passed to the modal.
218218
modal.$blocker; // The overlay element.
219-
modal.$anchor; // The anchor originating the event.
219+
modal.$anchor; // Anchor element originating the event.
220220
```
221221

222222
So, you could do something like this:

jquery.modal.min.js

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)