Commit af2fcf61 authored by Lukas Eipert's avatar Lukas Eipert

Remove admin log page related JS code

We have deleted the log pages from the admin interface with
https://gitlab.com/gitlab-org/gitlab/-/merge_requests/30485
these functions have been leftovers and can be deleted.
parent 46527a69
......@@ -28,24 +28,6 @@ export default function adminInit() {
$('.js-toggle-colors-container').toggleClass('hide');
});
$('.log-tabs a').on('click', function logTabsClick(e) {
e.preventDefault();
$(this).tab('show');
});
$('.log-bottom').on('click', (e) => {
e.preventDefault();
const $visibleLog = $('.file-content:visible');
// eslint-disable-next-line no-jquery/no-animate
$visibleLog.animate(
{
scrollTop: $visibleLog.find('ol').height(),
},
'fast',
);
});
$('.change-owner-link').on('click', function changeOwnerLinkClick(e) {
e.preventDefault();
$(this).hide();
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment