Skip to content

Commit 9c730e0

Browse files
committed
refactor: Change threadComment to commentInThread
1 parent 3b7aa62 commit 9c730e0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

views/mediaPlayerPartials/deleteCommentAndBlockUnblockUserJs.pug

+2-2
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ script.
6262

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

65-
var threadComment = $(this).parent().parent().parent();
65+
var commentInThread = $(this).parent().parent().parent();
6666

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

@@ -77,7 +77,7 @@ script.
7777
confirmButtonText: 'Delete Comment'
7878
}).then(function (result) {
7979
if (result.value) {
80-
deleteComment(commentId, threadComment)
80+
deleteComment(commentId, commentInThread)
8181
} else {
8282
swal.close();
8383
}

0 commit comments

Comments
 (0)