Skip to content

Commit

Permalink
Add $.modal.getCurrent() to retrieve current instance (if any)
Browse files Browse the repository at this point in the history
Resolves #178
  • Loading branch information
kylefox committed Sep 11, 2016
1 parent 48ccbd9 commit aee8564
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions jquery.modal.js
Original file line number Diff line number Diff line change
Expand Up @@ -195,6 +195,8 @@
return modals.length > 0;
}

$.modal.getCurrent = getCurrent;

$.modal.defaults = {
closeExisting: true,
escapeClose: true,
Expand Down

0 comments on commit aee8564

Please sign in to comment.