Skip to content

Commit

Permalink
When script loaded before </body>, dom:ready event is useless (DOM bu…
Browse files Browse the repository at this point in the history
…ilt before script execution anyway), so do less
  • Loading branch information
akzhan committed Apr 25, 2011
1 parent a8effd9 commit bb3fafd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions public/master.js
Original file line number Diff line number Diff line change
@@ -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.