mirror of
				https://gitee.com/gitea/gitea
				synced 2025-11-04 08:30:25 +08:00 
			
		
		
		
	Reply button is not removed when deleting a code review comment (#13774)
Co-authored-by: mrsdizzie <info@mrsdizzie.com>
This commit is contained in:
		@@ -1094,7 +1094,11 @@ async function initRepository() {
 | 
			
		||||
        $.post($this.data('url'), {
 | 
			
		||||
          _csrf: csrf
 | 
			
		||||
        }).done(() => {
 | 
			
		||||
          const $conversationHolder = $this.closest('.conversation-holder');
 | 
			
		||||
          $(`#${$this.data('comment-id')}`).remove();
 | 
			
		||||
          if ($conversationHolder.length && !$conversationHolder.find('.comment').length) {
 | 
			
		||||
            $conversationHolder.remove();
 | 
			
		||||
          }
 | 
			
		||||
        });
 | 
			
		||||
      }
 | 
			
		||||
      return false;
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user