mirror of
https://github.com/gitbucket/gitbucket.git
synced 2025-11-13 17:05:50 +01:00
(refs #712) Fix problems of showing inline notes.
This commit is contained in:
@@ -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),
|
||||||
|
|||||||
Reference in New Issue
Block a user