Skip to content

Commit

Permalink
Fix #7: pass jQuery to anonymous function and accept as '$' in argument
Browse files Browse the repository at this point in the history
  • Loading branch information
kylefox committed Feb 3, 2012
1 parent 0e1cadc commit 4321d01
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions jquery.modal.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
A simple jQuery modal (http:https://github.com/kylefox/jquery-modal)
Version 0.2.4
*/
(function() {
(function($) {

var current_modal = null;

Expand Down Expand Up @@ -130,4 +130,4 @@
$('a[rel="modal:open"]').live('click', open_modal_from_link);
$('a[rel="modal:close"]').live('click', $.fn.modal.close);

})();
})(jQuery);

0 comments on commit 4321d01

Please sign in to comment.