Skip to content

Commit cecc319

Browse files
blueworrybeartechknowlogick
authored andcommitted
fix #9198 make diff detail sticky again (#9280)
1 parent 0e56337 commit cecc319

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

web_src/js/index.js

+1
Original file line numberDiff line numberDiff line change
@@ -2019,6 +2019,7 @@ function initCodeView() {
20192019
$.get(`${$blob.data('url')}?${$blob.data('query')}&anchor=${$blob.data('anchor')}`, (blob) => {
20202020
$row.replaceWith(blob);
20212021
$(`[data-anchor="${$blob.data('anchor')}"]`).on('click', (e) => { insertBlobExcerpt(e); });
2022+
$('.diff-detail-box.ui.sticky').sticky();
20222023
});
20232024
}
20242025
$('.ui.blob-excerpt').on('click', (e) => { insertBlobExcerpt(e); });

0 commit comments

Comments
 (0)