(refs #712) Fix problems of showing inline notes.

This commit is contained in:
Shintaro Murakami
2015-04-13 19:31:15 +09:00
parent d8a3f308ed
commit 7f78815c11

View File

@@ -160,7 +160,7 @@ $(function(){
return $('<tr class="not-diff"><td colspan="3" class="comment-box-container"></td></tr>'); return $('<tr class="not-diff"><td colspan="3" class="comment-box-container"></td></tr>');
} }
if (typeof $('#show-notes')[0] !== 'undefined' && !$('#show-notes')[0].checked) { if (typeof $('#show-notes')[0] !== 'undefined' && !$('#show-notes')[0].checked) {
$('.inline-comment').hide(); $('#comment-list').children('.inline-comment').hide();
} }
$('.diff-outside').on('click','table.diff .add-comment',function() { $('.diff-outside').on('click','table.diff .add-comment',function() {
var $this = $(this), var $this = $(this),