Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
remove embarrassing comma that snuck into my function declaration

Co-authored-by: Jeppe Julius Krogh <[email protected]>
  • Loading branch information
sinejespersen and jeppekroghitk authored Jun 25, 2024
1 parent ae32220 commit 8e274a4
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,7 @@ function toggleCommentBoxes(id, commentId, formHash,editComment = false, isReply

<?php } ?>
}
function cancel(id, formHash,) {
function cancel(id, formHash) {
<?php if ($login::userIsAtLeast($roles::$commenter)) { ?>
jQuery(`#comment-to-hide-on-edit-${formHash}-${id}`).show();
jQuery(`.commentBox-${formHash} textarea`).remove();
Expand Down

0 comments on commit 8e274a4

Please sign in to comment.