diff --git a/jquery.modal.js b/jquery.modal.js index 0c605c9..44be1ee 100644 --- a/jquery.modal.js +++ b/jquery.modal.js @@ -119,6 +119,7 @@ $.fn.modal = function(options){ new $.modal(this, options); + return this; }; // Automatically bind links with rel="modal:close" to, well, close the modal.