Browse files

When script loaded before </body>, dom:ready event is useless (DOM bu…

…ilt before script execution anyway), so do less
  • Loading branch information...
1 parent a8effd9 commit bb3fafd72bd0bcc88565048f68b709698c3a9556 @akzhan akzhan committed Apr 25, 2011
Showing with 2 additions and 2 deletions.
  1. +2 −2 public/master.js
View
4 public/master.js
@@ -1,5 +1,5 @@
-jQuery(function($) {
+(function($) {
$("form.delete-form").submit(function() {
return confirm("Are you sure you want to delete this gem?");
});
-});
+})(jQuery);

0 comments on commit bb3fafd

Please sign in to comment.