Commits

Anonymous committed 22d21f6

Comments (0)

Files changed (1)

     // Customize the location of the media to match your project structure
     media = 'http://media.brandonkonkle.com/ajaxcomments'
     
-    // Set up click handler for Ajax comments
-    $(selector).submit(function() {
+    // Customize the selector for your project
+    $('div.comment-form form').submit(function() {
         ajaxComment({'media': media});
         return false;
     });