Commit c9c7fa7b authored by Paul Slaughter's avatar Paul Slaughter

Fix label click scrolling to top

parent 202e5251
...@@ -565,6 +565,11 @@ GitLabDropdown = (function() { ...@@ -565,6 +565,11 @@ GitLabDropdown = (function() {
!$target.data('isLink') !$target.data('isLink')
) { ) {
e.stopPropagation(); e.stopPropagation();
// This prevents automatic scrolling to the top
if ($target.is('a')) {
return false;
}
} }
return true; return true;
......
---
title: Fix label click scrolling to top
merge_request: 29202
author:
type: fixed
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