diff --git a/dreditor.user.js b/dreditor.user.js index 1b5dddb..fd00cba 100644 --- a/dreditor.user.js +++ b/dreditor.user.js @@ -2715,7 +2715,7 @@ Drupal.behaviors.dreditorIssuesFilterFormReset = function (context) { }; /** - * Attach clone issue to issues. + * Attach clone issue button to issues. */ Drupal.behaviors.dreditorIssueClone = function (context) { $('#comment-form:has(#edit-category)', context).once('dreditor-clone-button', function () { @@ -2742,8 +2742,8 @@ Drupal.behaviors.dreditorIssueClone = function (context) { var matches = window.location.href.match('^https?://drupal.org/node/([0-9]+)'); $doc.find('#edit-body').val('Follow-up from [#' + matches[1] + '].\n\n'); $doc.find('#edit-title').focus(); - }, 10); - }); + }, 10); + }); }; }); });