Commit 6ba29d85 authored by Kushal Pandya's avatar Kushal Pandya

Merge branch '207249-prevent-editing-weight-to-scroll-to-the-top' into 'master'

Prevent editing weight to scroll to the top

Closes #207249

See merge request gitlab-org/gitlab!26613
parents 5ba130e2 829cdc5a
---
title: Prevent editing weight to scroll to the top.
merge_request: 26613
author: Gilang Gumilar
type: fixed
......@@ -176,7 +176,7 @@ export default {
class="float-right js-weight-edit-link"
data-qa-selector="edit_weight_link"
href="#"
@click="onEditClick(!shouldShowEditField)"
@click.prevent="onEditClick(!shouldShowEditField)"
>{{ __('Edit') }}</a
>
</div>
......
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