Skip to content
GitLab
Next
Menu
Why GitLab
Pricing
Contact Sales
Explore
Why GitLab
Pricing
Contact Sales
Explore
Sign in
Get free trial
Primary navigation
Search or go to…
Project
GitLab FOSS
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Privacy statement
Keyboard shortcuts
?
What's new
4
Snippets
Groups
Projects
Show more breadcrumbs
GitLab.org
GitLab FOSS
Merge requests
!10265
Stops triggering board sidebar when clicking avatar
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
Stops triggering board sidebar when clicking avatar
issue-boards-card-img-triggers-sidebar
into
master
Overview
3
Commits
1
Pipelines
2
Changes
3
All threads resolved!
Show all comments
Merged
Phil Hughes
requested to merge
issue-boards-card-img-triggers-sidebar
into
master
7 years ago
Overview
3
Commits
1
Pipelines
2
Changes
3
All threads resolved!
Show all comments
Expand
What does this MR do?
Stops triggering the issue boards sidebar when clicking the assignee avatar.
0
0
Merge request reports
Compare
master
version 1
0a0837da
7 years ago
master (base)
and
latest version
latest version
6765a4e4
1 commit,
7 years ago
version 1
0a0837da
1 commit,
7 years ago
3 files
+
23
−
6
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
3
Search (e.g. *.vue) (Ctrl+P)
app/assets/javascripts/boards/components/board_card.js
+
1
−
3
Options
@@ -50,9 +50,7 @@ export default {
this
.
showDetail
=
false
;
},
showIssue
(
e
)
{
const
targetTagName
=
e
.
target
.
tagName
.
toLowerCase
();
if
(
targetTagName
===
'
a
'
||
targetTagName
===
'
button
'
)
return
;
if
(
e
.
target
.
classList
.
contains
(
'
js-no-trigger
'
))
return
;
if
(
this
.
showDetail
)
{
this
.
showDetail
=
false
;
Loading