Skip to content
Snippets Groups Projects
Commit 1b3b4f4e authored by Phil Hughes's avatar Phil Hughes
Browse files

Fixed bug with merge immediately button would not work

This was caused by using 'this' in a fat arrow function, so 'this' would not equal the jQuery element
parent 125abfd4
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -30,7 +30,7 @@
.off('click', '.js-merge-dropdown a')
.on('click', '.js-merge-dropdown a', (e) => {
e.preventDefault();
$(this).closest('form').submit();
$(e.target).closest('form').submit();
});
if ($('.rebase-in-progress').length) {
merge_request_widget.rebaseInProgress();
Loading
Loading
---
title: Fixed bug where links in merge dropdown wouldn't work
merge_request:
author:
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment