summaryrefslogtreecommitdiffstats
path: root/web_src/js/index.js
diff options
context:
space:
mode:
Diffstat (limited to 'web_src/js/index.js')
-rw-r--r--web_src/js/index.js3
1 files changed, 0 insertions, 3 deletions
diff --git a/web_src/js/index.js b/web_src/js/index.js
index 61059b6946..a39d8b0dd3 100644
--- a/web_src/js/index.js
+++ b/web_src/js/index.js
@@ -1204,8 +1204,6 @@ function initPullRequestReview() {
return;
}
- $('.diff-detail-box.ui.sticky').sticky();
-
$('.btn-review').on('click', function (e) {
e.preventDefault();
$(this).closest('.dropdown').find('.menu').toggle('visible');
@@ -2042,7 +2040,6 @@ function initCodeView() {
$.get(`${$blob.data('url')}?${$blob.data('query')}&anchor=${$blob.data('anchor')}`, (blob) => {
$row.replaceWith(blob);
$(`[data-anchor="${$blob.data('anchor')}"]`).on('click', (e) => { insertBlobExcerpt(e) });
- $('.diff-detail-box.ui.sticky').sticky();
});
}
$('.ui.blob-excerpt').on('click', (e) => { insertBlobExcerpt(e) });