Commit 964aa282 authored by Phil Hughes's avatar Phil Hughes

Removes sticky polyfill from the diff file headers

Closes https://gitlab.com/gitlab-org/gitlab/-/issues/39145
parent 7196be85
...@@ -2,7 +2,6 @@ ...@@ -2,7 +2,6 @@
import { escape } from 'lodash'; import { escape } from 'lodash';
import { mapActions, mapGetters } from 'vuex'; import { mapActions, mapGetters } from 'vuex';
import { GlDeprecatedButton, GlTooltipDirective, GlLoadingIcon } from '@gitlab/ui'; import { GlDeprecatedButton, GlTooltipDirective, GlLoadingIcon } from '@gitlab/ui';
import { polyfillSticky } from '~/lib/utils/sticky';
import ClipboardButton from '~/vue_shared/components/clipboard_button.vue'; import ClipboardButton from '~/vue_shared/components/clipboard_button.vue';
import Icon from '~/vue_shared/components/icon.vue'; import Icon from '~/vue_shared/components/icon.vue';
import FileIcon from '~/vue_shared/components/file_icon.vue'; import FileIcon from '~/vue_shared/components/file_icon.vue';
...@@ -124,9 +123,6 @@ export default { ...@@ -124,9 +123,6 @@ export default {
return s__('MRDiff|Show full file'); return s__('MRDiff|Show full file');
}, },
}, },
mounted() {
polyfillSticky(this.$refs.header);
},
methods: { methods: {
...mapActions('diffs', [ ...mapActions('diffs', [
'toggleFileDiscussions', 'toggleFileDiscussions',
......
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