Skip to content
Snippets Groups Projects

Updated merge request header

Merged Phil Hughes requested to merge ph/updatedMergeRequestHeader into master
All threads resolved!
27 files
+ 239
110
Compare changes
  • Side-by-side
  • Inline
Files
27
@@ -156,7 +156,7 @@ export default class ShortcutsIssuable extends Shortcuts {
@@ -156,7 +156,7 @@ export default class ShortcutsIssuable extends Shortcuts {
static copyBranchName() {
static copyBranchName() {
// There are two buttons - one that is shown when the sidebar
// There are two buttons - one that is shown when the sidebar
// is expanded, and one that is shown when it's collapsed.
// is expanded, and one that is shown when it's collapsed.
const allCopyBtns = Array.from(document.querySelectorAll('.js-sidebar-source-branch button'));
const allCopyBtns = Array.from(document.querySelectorAll('.js-source-branch-copy'));
// Select whichever button is currently visible so that
// Select whichever button is currently visible so that
// the "Copied" tooltip is shown when a click is simulated.
// the "Copied" tooltip is shown when a click is simulated.
Loading