Skip to content

Commit

Permalink
document $.modal.getCurrent()
Browse files Browse the repository at this point in the history
  • Loading branch information
kylefox committed Sep 11, 2016
1 parent b16a02b commit 1310ef1
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,8 @@ _(Note that modals loaded with AJAX are removed from the DOM when closed)._

# Checking current state

Use `$.modal.isActive()` to check if a modal is currently being displayed.
* Use `$.modal.isActive()` to check if a modal is currently being displayed.
* Use `$.modal.getCurrent()` to retrieve a reference to the currently active modal instance, if any.

# Options

Expand Down

0 comments on commit 1310ef1

Please sign in to comment.