Commit 310511c7 authored by Kushal Pandya's avatar Kushal Pandya

Merge branch 'ph/39145/removeDiffHeaderStickyFill' into 'master'

Removes sticky polyfill from the diff file headers

Closes #39145

See merge request gitlab-org/gitlab!34953
parents 1905324d 964aa282
...@@ -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