Loading ajax_comments.js +0 −14 Original line number Diff line number Diff line Loading @@ -29,20 +29,6 @@ } }; /** * Own Bind Ajax behavior for comment links. */ Drupal.behaviors.ajaxCommentsBehavior = { attach: function (context, settings) { // Bind Ajax behavior to all items showing the class. $('.js-use-ajax-comments', context).once('ajax-comments').each(function () { $(this).click(function (e) { e.preventDefault(); }); }); } }; /** * Override and extend the functionality of Drupal.Ajax.prototype.beforeSerialize. */ Loading Loading
ajax_comments.js +0 −14 Original line number Diff line number Diff line Loading @@ -29,20 +29,6 @@ } }; /** * Own Bind Ajax behavior for comment links. */ Drupal.behaviors.ajaxCommentsBehavior = { attach: function (context, settings) { // Bind Ajax behavior to all items showing the class. $('.js-use-ajax-comments', context).once('ajax-comments').each(function () { $(this).click(function (e) { e.preventDefault(); }); }); } }; /** * Override and extend the functionality of Drupal.Ajax.prototype.beforeSerialize. */ Loading