Commit 231966f2

mo khan <mo@mokhan.ca>
2014-07-05 15:54:23
remove callback code from html template.
1 parent ff1fccb
Changed files (1)
app
views
app/views/my/cakes/index.html.erb
@@ -6,9 +6,6 @@
     var disqus_config = function(){
       this.page.remote_auth_s3 = '<%= disqus_auth %>';
       this.page.api_key = '<%= ENV['DISQUS_API_KEY'] %>';
-      this.callbacks.onNewComment = [function(comment) {
-        $.post('<%= comments_path %>', { id: comment.id, url: document.URL, comment: comment }, function(result){ console.log(result); });
-      }];
     };
     CakeSide.initialize({
       access_token: '<%= current_user.authentication_token %>',