Skip to content

Commit

Permalink
refactor: Change threadComment to commentInThread
Browse files Browse the repository at this point in the history
  • Loading branch information
Mxchaeltrxn committed Oct 17, 2020
1 parent d806a07 commit f90aff7
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ script.

$('.delete-thread-comment-button').on('release click', function (e) {

var threadComment = $(this).parent().parent().parent();
var commentInThread = $(this).parent().parent().parent();

var commentId = $(this).attr('commentId');

Expand All @@ -77,7 +77,7 @@ script.
confirmButtonText: 'Delete Comment'
}).then(function (result) {
if (result.value) {
deleteComment(commentId, threadComment)
deleteComment(commentId, commentInThread)
} else {
swal.close();
}
Expand Down

0 comments on commit f90aff7

Please sign in to comment.