Skip to content

Commit 6d33022

Browse files
committed
refactor: Make deleteComments func more generic
1 parent e87be30 commit 6d33022

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

views/mediaPlayerPartials/deleteCommentAndBlockUnblockUserJs.pug

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
script.
22
$(function(){
3-
function deleteComment(commentId, commentThread) {
3+
function deleteComment(commentId, comment) {
44

55
var upload = '#{upload._id}';
66

@@ -21,7 +21,7 @@ script.
2121

2222
swal('Comment deleted!');
2323

24-
commentThread.hide();
24+
comment.hide();
2525

2626

2727
// remove comment

0 commit comments

Comments
 (0)