Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
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...
commit bb3fafd72bd0bcc88565048f68b709698c3a9556 1 parent a8effd9
@akzhan akzhan authored
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);
Please sign in to comment.
Something went wrong with that request. Please try again.