mirror of
https://github.com/go-gitea/gitea
synced 2024-12-22 08:27:52 +01:00
parent
0e56337f64
commit
cecc31951c
@ -2019,6 +2019,7 @@ function initCodeView() {
|
|||||||
$.get(`${$blob.data('url')}?${$blob.data('query')}&anchor=${$blob.data('anchor')}`, (blob) => {
|
$.get(`${$blob.data('url')}?${$blob.data('query')}&anchor=${$blob.data('anchor')}`, (blob) => {
|
||||||
$row.replaceWith(blob);
|
$row.replaceWith(blob);
|
||||||
$(`[data-anchor="${$blob.data('anchor')}"]`).on('click', (e) => { insertBlobExcerpt(e); });
|
$(`[data-anchor="${$blob.data('anchor')}"]`).on('click', (e) => { insertBlobExcerpt(e); });
|
||||||
|
$('.diff-detail-box.ui.sticky').sticky();
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
$('.ui.blob-excerpt').on('click', (e) => { insertBlobExcerpt(e); });
|
$('.ui.blob-excerpt').on('click', (e) => { insertBlobExcerpt(e); });
|
||||||
|
Loading…
Reference in New Issue
Block a user